localrepo: update commit*() docstrings
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 19 May 2009 11:39:12 +0200
changeset 8515 865e08a7d6b0
parent 8514 252232621165
child 8516 8e2c0ab94432
localrepo: update commit*() docstrings
mercurial/localrepo.py
--- 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