##// END OF EJS Templates
correctly find the type of 'id' in revlog.lookup
Benoit Boissinot -
r3210:7240f9e4 default
parent child Browse files
Show More
@@ -751,7 +751,7 b' class revlog(object):'
751 751 - revision number or str(revision number)
752 752 - nodeid or subset of hex nodeid
753 753 """
754 if type(id) == type(0):
754 if isinstance(id, (long, int)):
755 755 # rev
756 756 return self.node(id)
757 757 try:
General Comments 0
You need to be logged in to leave comments. Login now