diff -r c29d3f4ed967 -r ccbd39cad3c3 mercurial/localrepo.py --- a/mercurial/localrepo.py Fri Oct 10 15:53:49 2008 +0300 +++ b/mercurial/localrepo.py Sat Oct 11 13:07:29 2008 +0200 @@ -788,6 +788,11 @@ del lock, wlock def commitctx(self, ctx): + """Add a new revision to current repository. + + Revision information is passed in the context.memctx argument. + commitctx() does not touch the working directory. + """ wlock = lock = None try: wlock = self.wlock()