Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 7077:ccbd39cad3c3
context: improve memctx documentation
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 11 Oct 2008 13:07:29 +0200 |
parents | 4e0d54fbd34f |
children | 7b5c063b0b94 |
line wrap: on
line diff
--- 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()