aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/commit.py
Commit message (Collapse)AuthorAgeFilesLines
* Added --allow-empty to "be commit"W. Trevor King2009-07-191-3/+12
| | | | | | | Previously many backends would silently add an empty commit. Not very useful. When the new --allow-empty flag and related allow_empty options are false, every versioning backend is guaranteed to raise the EmptyCommit exception in the case of an attempted empty commit.
* Added becommands/commit.py and minor fixes.W. Trevor King2009-07-191-0/+68
Now we can commit changes from the command line with a unified interface. The interface is much less flexible than using your particular version control system's commit command directly, so this command is mostly intended for user-interfaces and other tools that don't want to be bothered with the extra flexibility. Normalized spacing in rcs.RCS.commit to produce: summary <BLANKLINE> body <TRAILING-ENDLINE> messages regardless of the input string format. Also fixed a "--complete" handline bug in cmdutil, and some minor docstring typos in libbe.rcs and .editor.