##// END OF EJS Templates
localrepo: delete obsolete comment about `prefix in repo` raising exception...
Martin von Zweigbergk -
r46730:c6ae1982 default
parent child Browse files
Show More
@@ -1754,11 +1754,7 b' class localrepository(object):'
1754 return context.workingctx(self)
1754 return context.workingctx(self)
1755
1755
1756 def __contains__(self, changeid):
1756 def __contains__(self, changeid):
1757 """True if the given changeid exists
1757 """True if the given changeid exists"""
1758
1759 error.AmbiguousPrefixLookupError is raised if an ambiguous node
1760 specified.
1761 """
1762 try:
1758 try:
1763 self[changeid]
1759 self[changeid]
1764 return True
1760 return True
General Comments 0
You need to be logged in to leave comments. Login now