Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 7975:fc4a3931e608
commands: stress that commit is a local operation
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Sat, 04 Apr 2009 00:32:06 +0200 |
parents | a8a719ff150a |
children | a62fc8fe882f |
comparison
equal
deleted
inserted
replaced
7974:a8a719ff150a | 7975:fc4a3931e608 |
---|---|
607 update=not opts.get('noupdate')) | 607 update=not opts.get('noupdate')) |
608 | 608 |
609 def commit(ui, repo, *pats, **opts): | 609 def commit(ui, repo, *pats, **opts): |
610 """commit the specified files or all outstanding changes | 610 """commit the specified files or all outstanding changes |
611 | 611 |
612 Commit changes to the given files into the repository. | 612 Commit changes to the given files into the repository. Unlike a |
613 centralized RCS, this operation is a local operation. See hg push | |
614 for means to actively distribute your changes. | |
613 | 615 |
614 If a list of files is omitted, all changes reported by "hg status" | 616 If a list of files is omitted, all changes reported by "hg status" |
615 will be committed. | 617 will be committed. |
616 | 618 |
617 If you are committing the result of a merge, do not provide any | 619 If you are committing the result of a merge, do not provide any |