diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py +++ b/mercurial/bundlerepo.py @@ -96,7 +96,9 @@ class bundlerevlog(revlog.revlog): 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 --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -870,7 +870,9 @@ class revlog(object): 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)