[Updated] D9599: localrepo: delete obsolete comment about `prefix in repo` raising exception
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Wed Dec 16 04:32:36 UTC 2020
Closed by commit rHGc6ae1982b2a1: localrepo: delete obsolete comment about `prefix in repo` raising exception (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D9599?vs=24265&id=24290
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D9599/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D9599
AFFECTED FILES
mercurial/localrepo.py
CHANGE DETAILS
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -1754,11 +1754,7 @@
return context.workingctx(self)
def __contains__(self, changeid):
- """True if the given changeid exists
-
- error.AmbiguousPrefixLookupError is raised if an ambiguous node
- specified.
- """
+ """True if the given changeid exists"""
try:
self[changeid]
return True
To: martinvonz, #hg-reviewers, mharbison72
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20201216/40eabcea/attachment-0002.html>
More information about the Mercurial-patches
mailing list