revlog: fix partial revision() docstring (from
d7d64b89a65c)
--- a/mercurial/bundlerepo.py Sat Apr 14 11:27:11 2012 +0200
+++ b/mercurial/bundlerepo.py Fri Apr 13 10:14:59 2012 +0200
@@ -96,7 +96,9 @@
self.revision(self.node(rev2)))
def revision(self, nodeorrev):
- """return an uncompressed revision of a given"""
+ """return an uncompressed revision of a given node or revision
+ number.
+ """
if isinstance(nodeorrev, int):
rev = nodeorrev
node = self.node(rev)
--- a/mercurial/revlog.py Sat Apr 14 11:27:11 2012 +0200
+++ b/mercurial/revlog.py Fri Apr 13 10:14:59 2012 +0200
@@ -870,7 +870,9 @@
self.revision(rev2))
def revision(self, nodeorrev):
- """return an uncompressed revision of a given node or"""
+ """return an uncompressed revision of a given node or revision
+ number.
+ """
if isinstance(nodeorrev, int):
rev = nodeorrev
node = self.node(rev)