##// END OF EJS Templates
localrepo: update commit*() docstrings
Benoit Boissinot -
r8515:865e08a7 default
parent child Browse files
Show More
@@ -769,6 +769,12 b' class localrepository(repo.repository):'
769 769
770 770 def commit(self, files=None, text="", user=None, date=None, match=None,
771 771 force=False, editor=False, extra={}):
772 """Add a new revision to current repository.
773
774 Revision information is gathered from the working directory, files and
775 match can be used to filter the committed files.
776 If editor is supplied, it is called to get a commit message.
777 """
772 778 wlock = self.wlock()
773 779 try:
774 780 p1, p2 = self.dirstate.parents()
@@ -828,8 +834,6 b' class localrepository(repo.repository):'
828 834 """Add a new revision to current repository.
829 835
830 836 Revision information is passed via the context argument.
831 If editor is supplied, it is called to get a commit message.
832 If working is set, the working directory is affected.
833 837 """
834 838
835 839 tr = lock = None
General Comments 0
You need to be logged in to leave comments. Login now