changeset 8515:865e08a7d6b0

localrepo: update commit*() docstrings
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 19 May 2009 11:39:12 +0200
parents 252232621165
children 8e2c0ab94432
files mercurial/localrepo.py
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Tue May 19 01:37:38 2009 +0200
+++ b/mercurial/localrepo.py	Tue May 19 11:39:12 2009 +0200
@@ -769,6 +769,12 @@
 
     def commit(self, files=None, text="", user=None, date=None, match=None,
                force=False, editor=False, extra={}):
+        """Add a new revision to current repository.
+
+        Revision information is gathered from the working directory, files and
+        match can be used to filter the committed files.
+        If editor is supplied, it is called to get a commit message.
+        """
         wlock = self.wlock()
         try:
             p1, p2 = self.dirstate.parents()
@@ -828,8 +834,6 @@
         """Add a new revision to current repository.
 
         Revision information is passed via the context argument.
-        If editor is supplied, it is called to get a commit message.
-        If working is set, the working directory is affected.
         """
 
         tr = lock = None