Mercurial > hg > mercurial-source
changeset 36084:d67bcfc0041f
revset: make follow() accept empty startrev
This is the same behavior as ancestors(emptyset).
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 22 Sep 2016 19:41:42 +0900 |
parents | d36eda8896cc |
children | ad2b35ebf670 |
files | mercurial/revset.py tests/test-log.t |
diffstat | 2 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -913,9 +913,6 @@ revs = None if 'startrev' in args: revs = getset(repo, fullreposet(repo), args['startrev']) - if not revs: - raise error.RepoLookupError( - _("%s expected at least one starting revision") % name) if 'file' in args: x = getstring(args['file'], _("%s expected a pattern") % name) if revs is None: