Submitter | phabricator |
---|---|
Date | March 28, 2018, 11:25 p.m. |
Message ID | <6028ab8a55ca91034b66b7fc4e8e1172@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/29928/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -3258,10 +3258,9 @@ end = '\0' else: end = '\n' - rev = scmutil.revsingle(repo, opts.get('rev'), None).node() + ctx = scmutil.revsingle(repo, opts.get('rev'), None) ret = 1 - ctx = repo[rev] m = scmutil.match(ctx, pats, opts, default='relglob', badfn=lambda x, y: False)