Submitter | Siddharth Agarwal |
---|---|
Date | Dec. 29, 2012, 12:56 a.m. |
Message ID | <d518e5bb7e24789992ea.1356742598@sid0x220> |
Download | mbox | patch |
Permalink | /patch/324/ |
State | Accepted |
Commit | 0dcc77b271b93ad6f4a6729d8d8cb8051b7086b0 |
Headers | show |
Comments
Patch
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -1453,7 +1453,8 @@ def getgraphlogrevs(repo, pats, opts): if not opts.get('hidden'): # --hidden is still experimental and not worth a dedicated revset # yet. Fortunately, filtering revision number is fast. - revs = (r for r in revs if r not in repo.hiddenrevs) + hiddenrevs = repo.hiddenrevs + revs = (r for r in revs if r not in hiddenrevs) else: revs = iter(revs) return revs, expr, filematcher