##// 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 class bundlerevlog(revlog.revlog):
96 96 self.revision(self.node(rev2)))
97 97
98 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 102 if isinstance(nodeorrev, int):
101 103 rev = nodeorrev
102 104 node = self.node(rev)
@@ -870,7 +870,9 class revlog(object):
870 870 self.revision(rev2))
871 871
872 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 876 if isinstance(nodeorrev, int):
875 877 rev = nodeorrev
876 878 node = self.node(rev)
General Comments 0
You need to be logged in to leave comments. Login now