[Pkg-bazaar-commits] ./bzr/unstable r97: - more commit help
mbp at sourcefrog.net
mbp at sourcefrog.net
Fri Apr 10 07:51:08 UTC 2009
------------------------------------------------------------
revno: 97
committer: mbp at sourcefrog.net
timestamp: Sat 2005-03-26 14:02:29 +1100
message:
- more commit help
modified:
bzrlib/commands.py
-------------- next part --------------
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py 2005-03-25 03:09:43 +0000
+++ b/bzrlib/commands.py 2005-03-26 03:02:29 +0000
@@ -413,6 +413,22 @@
def cmd_commit(message=None, verbose=False):
+ """Commit changes to a new revision.
+
+--message MESSAGE
+ Description of changes in this revision; free form text.
+ It is recommended that the first line be a single-sentence
+ summary.
+--verbose
+ Show status of changed files,
+
+TODO: Commit only selected files.
+
+TODO: Run hooks on tree to-be-committed, and after commit.
+
+TODO: Strict commit that fails if there are unknown or deleted files.
+"""
+
if not message:
bailout("please specify a commit message")
Branch('.').commit(message, verbose=verbose)
More information about the Pkg-bazaar-commits
mailing list