equal
deleted
inserted
replaced
1752 ) |
1752 ) |
1753 except error.WdirUnsupported: |
1753 except error.WdirUnsupported: |
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 |
1765 except error.RepoLookupError: |
1761 except error.RepoLookupError: |
1766 return False |
1762 return False |