Submitter | phabricator |
---|---|
Date | Oct. 22, 2019, 5:56 p.m. |
Message ID | <differential-rev-PHID-DREV-rhyz4zfvy35ko5w5n4lw-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/42534/ |
State | Superseded |
Headers | show |
Comments
marmoute added a comment. Do you have performance number for this ? REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7148/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7148 To: martinvonz, #hg-reviewers Cc: marmoute, mercurial-devel
Herald added a subscriber: mercurial-patches. This revision now requires changes to proceed. marmoute added a comment. marmoute requested changes to this revision. This was superseeded by another mechanism and can be safely abandonned. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7148/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7148 To: martinvonz, #hg-reviewers, durin42, marmoute Cc: mercurial-patches, marmoute, mercurial-devel
martinvonz added a comment. martinvonz abandoned this revision. I thought I already had abandoned this, but apparently not :) REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7148/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7148 To: martinvonz, #hg-reviewers, durin42, marmoute Cc: mercurial-patches, marmoute, mercurial-devel
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -438,6 +438,11 @@ raise error.Abort(_(b'at least one of -n/-c is required for -l')) rev = opts.get(b'rev') + if not rev: + # Avoid loading obsmarkers if we're accessing only the working copy + # parent (which will never be hidden). + repo = repo.unfiltered() + if rev: repo = scmutil.unhidehashlikerevs(repo, [rev], b'nowarn') ctx = scmutil.revsingle(repo, rev)