# HG changeset patch # User Patrick Mezard # Date 1334304899 -7200 # Node ID df347129305d72d3e9958392d35ed1953df1f0d7 # Parent 8b62a77d0895bd9bc3cd64c1fc9c302dc19b4cd7 revlog: fix partial revision() docstring (from d7d64b89a65c) diff -r 8b62a77d0895 -r df347129305d mercurial/bundlerepo.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) diff -r 8b62a77d0895 -r df347129305d mercurial/revlog.py --- 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)