##// END OF EJS Templates
revlog: fix partial revision() docstring (from d7d64b89a65c)
Patrick Mezard -
r16435:df347129 default
parent child Browse files
Show More
@@ -96,7 +96,9 b' class bundlerevlog(revlog.revlog):'
96 self.revision(self.node(rev2)))
96 self.revision(self.node(rev2)))
97
97
98 def revision(self, nodeorrev):
98 def revision(self, nodeorrev):
99 """return an uncompressed revision of a given"""
99 """return an uncompressed revision of a given node or revision
100 number.
101 """
100 if isinstance(nodeorrev, int):
102 if isinstance(nodeorrev, int):
101 rev = nodeorrev
103 rev = nodeorrev
102 node = self.node(rev)
104 node = self.node(rev)
@@ -870,7 +870,9 b' class revlog(object):'
870 self.revision(rev2))
870 self.revision(rev2))
871
871
872 def revision(self, nodeorrev):
872 def revision(self, nodeorrev):
873 """return an uncompressed revision of a given node or"""
873 """return an uncompressed revision of a given node or revision
874 number.
875 """
874 if isinstance(nodeorrev, int):
876 if isinstance(nodeorrev, int):
875 rev = nodeorrev
877 rev = nodeorrev
876 node = self.node(rev)
878 node = self.node(rev)
General Comments 0
You need to be logged in to leave comments. Login now