Show More
@@ -751,7 +751,7 b' class revlog(object):' | |||||
751 | - revision number or str(revision number) |
|
751 | - revision number or str(revision number) | |
752 | - nodeid or subset of hex nodeid |
|
752 | - nodeid or subset of hex nodeid | |
753 | """ |
|
753 | """ | |
754 | if type(id) == type(0): |
|
754 | if isinstance(id, (long, int)): | |
755 | # rev |
|
755 | # rev | |
756 | return self.node(id) |
|
756 | return self.node(id) | |
757 | try: |
|
757 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now