revlog: fix partial revision() docstring (from d7d64b89a65c)
authorPatrick Mezard <patrick@mezard.eu>
Fri, 13 Apr 2012 10:14:59 +0200
changeset 16435 df347129305d
parent 16434 8b62a77d0895
child 16436 e98460f6089d
revlog: fix partial revision() docstring (from d7d64b89a65c)
mercurial/bundlerepo.py
mercurial/revlog.py
--- 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)