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