Mercurial > hg
changeset 16435:df347129305d
revlog: fix partial revision() docstring (from d7d64b89a65c)
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Fri, 13 Apr 2012 10:14:59 +0200 |
parents | 8b62a77d0895 |
children | e98460f6089d |
files | mercurial/bundlerepo.py mercurial/revlog.py |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)