Mercurial > hg > mercurial-crew-with-dirclash
comparison 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 |
comparison
equal
deleted
inserted
replaced
812:b65af904d6d7 | 813:80fd2958235a |
---|---|
98 source and destination are on the same filesystem. | 98 source and destination are on the same filesystem. |
99 | 99 |
100 options: | 100 options: |
101 -U, --noupdate do not update the new working directory | 101 -U, --noupdate do not update the new working directory |
102 | 102 |
103 commit [-A -t -l <file> -m <text> -u <user> -d <datecode>] [files...]:: | 103 commit [options] [files...]:: |
104 Commit changes to the given files into the repository. | 104 Commit changes to the given files into the repository. |
105 | 105 |
106 If a list of files is omitted, all changes reported by "hg status" | 106 If a list of files is omitted, all changes reported by "hg status" |
107 will be commited. | 107 from the root of the repository will be commited. |
108 | 108 |
109 The HGEDITOR or EDITOR environment variables are used to start an | 109 The HGEDITOR or EDITOR environment variables are used to start an |
110 editor to add a commit comment. | 110 editor to add a commit comment. |
111 | 111 |
112 Options: | 112 Options: |
113 | 113 |
114 -A, --addremove run addremove during commit | 114 -A, --addremove run addremove during commit |
115 -I, --include <pat> include names matching the given patterns | |
116 -X, --exclude <pat> exclude names matching the given patterns | |
115 -m, --message <text> use <text> as commit message | 117 -m, --message <text> use <text> as commit message |
116 -l, --logfile <file> show the commit message for the given file | 118 -l, --logfile <file> show the commit message for the given file |
117 -d, --date <datecode> record datecode as commit date | 119 -d, --date <datecode> record datecode as commit date |
118 -u, --user <user> record user as commiter | 120 -u, --user <user> record user as commiter |
119 | 121 |