Submitter | Yuya Nishihara |
---|---|
Date | Feb. 6, 2015, 2:40 p.m. |
Message ID | <9897709778e4f046ac4c.1423233659@mimosa> |
Download | mbox | patch |
Permalink | /patch/7711/ |
State | Accepted |
Commit | 4fa72a09c73df58cc94e7094082ebba8adf8c7f0 |
Headers | show |
Comments
Patch
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -1837,7 +1837,7 @@ def getgraphlogrevs(repo, pats, opts): if opts.get('rev'): revs = scmutil.revrange(repo, opts['rev']) else: - if follow and len(repo) > 0: + if follow: revs = repo.revs('reverse(:.)') else: revs = revset.spanset(repo)