Mercurial > hg
diff doc/hg.1.txt @ 813:80fd2958235a
Adapt commit to use file matching code.
The code is slightly complicated by the need to commit all outstanding
changes in the repository if no file names are given (other commands
operate on the current directory and its subdirectories in this case).
localrepository.changes has acquired an optional match parameter, to let
it filter out include/exclude options.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 29 Jul 2005 15:02:27 -0800 |
parents | fa9aaf3bbdd7 |
children | 0902ffece4b4 |
line wrap: on
line diff
--- a/doc/hg.1.txt Fri Jul 29 12:30:12 2005 -0800 +++ b/doc/hg.1.txt Fri Jul 29 15:02:27 2005 -0800 @@ -100,11 +100,11 @@ options: -U, --noupdate do not update the new working directory -commit [-A -t -l <file> -m <text> -u <user> -d <datecode>] [files...]:: +commit [options] [files...]:: Commit changes to the given files into the repository. If a list of files is omitted, all changes reported by "hg status" - will be commited. + from the root of the repository will be commited. The HGEDITOR or EDITOR environment variables are used to start an editor to add a commit comment. @@ -112,6 +112,8 @@ Options: -A, --addremove run addremove during commit + -I, --include <pat> include names matching the given patterns + -X, --exclude <pat> exclude names matching the given patterns -m, --message <text> use <text> as commit message -l, --logfile <file> show the commit message for the given file -d, --date <datecode> record datecode as commit date