##// END OF EJS Templates
expand "dir" to "directory" in help texts
Martin Geisler -
r8026:683d8ebc default
parent child Browse files
Show More
@@ -13,7 +13,7 b' from mercurial.i18n import _'
13
13
14
14
15 def children(ui, repo, file_=None, **opts):
15 def children(ui, repo, file_=None, **opts):
16 """show the children of the given or working dir revision
16 """show the children of the given or working directory revision
17
17
18 Print the children of the working directory's revisions. If a
18 Print the children of the working directory's revisions. If a
19 revision is given via --rev, the children of that revision will be
19 revision is given via --rev, the children of that revision will be
@@ -68,7 +68,7 b' def convert(ui, src, dest=None, revmapfi'
68
68
69 The 'include' directive causes a file, or all files under a
69 The 'include' directive causes a file, or all files under a
70 directory, to be included in the destination repository, and the
70 directory, to be included in the destination repository, and the
71 exclusion of all other files and dirs not explicitely included.
71 exclusion of all other files and directories not explicitely included.
72 The 'exclude' directive causes files or directories to be omitted.
72 The 'exclude' directive causes files or directories to be omitted.
73 The 'rename' directive renames a file or directory. To rename from
73 The 'rename' directive renames a file or directory. To rename from
74 a subdirectory into the root of the repository, use '.' as the
74 a subdirectory into the root of the repository, use '.' as the
@@ -154,7 +154,9 b' class monotone_source(converter_source, '
154 if self.mtnisdir(toname, rev):
154 if self.mtnisdir(toname, rev):
155 renamed = self.mtnrenamefiles(self.files, fromname, toname)
155 renamed = self.mtnrenamefiles(self.files, fromname, toname)
156 for tofile, fromfile in renamed.items():
156 for tofile, fromfile in renamed.items():
157 self.ui.debug (_("copying file in renamed dir from '%s' to '%s'") % (fromfile, tofile), '\n')
157 self.ui.debug (_("copying file in renamed directory "
158 "from '%s' to '%s'")
159 % (fromfile, tofile), '\n')
158 files[tofile] = rev
160 files[tofile] = rev
159 for fromfile in renamed.values():
161 for fromfile in renamed.values():
160 files[fromfile] = rev
162 files[fromfile] = rev
@@ -7,7 +7,7 b''
7
7
8 '''
8 '''
9 The `extdiff' Mercurial extension allows you to use external programs
9 The `extdiff' Mercurial extension allows you to use external programs
10 to compare revisions, or revision with working dir. The external diff
10 to compare revisions, or revision with working directory. The external diff
11 programs are called with a configurable set of options and two
11 programs are called with a configurable set of options and two
12 non-option arguments: paths to directories containing snapshots of
12 non-option arguments: paths to directories containing snapshots of
13 files to compare.
13 files to compare.
@@ -85,7 +85,7 b' def snapshot_wdir(ui, repo, files, tmpro'
85 dirname = "root"
85 dirname = "root"
86 base = os.path.join(tmproot, dirname)
86 base = os.path.join(tmproot, dirname)
87 os.mkdir(base)
87 os.mkdir(base)
88 ui.note(_('making snapshot of %d files from working dir\n') %
88 ui.note(_('making snapshot of %d files from working directory\n') %
89 (len(files)))
89 (len(files)))
90
90
91 fns_and_mtime = []
91 fns_and_mtime = []
@@ -2218,7 +2218,7 b' def save(ui, repo, **opts):'
2218 def strip(ui, repo, rev, **opts):
2218 def strip(ui, repo, rev, **opts):
2219 """strip a revision and all its descendants from the repository
2219 """strip a revision and all its descendants from the repository
2220
2220
2221 If one of the working dir's parent revisions is stripped, the
2221 If one of the working directory's parent revisions is stripped, the
2222 working directory will be updated to the parent of the stripped
2222 working directory will be updated to the parent of the stripped
2223 revision.
2223 revision.
2224 """
2224 """
@@ -2514,7 +2514,7 b' cmdtable = {'
2514 'qheader': (header, [], _('hg qheader [PATCH]')),
2514 'qheader': (header, [], _('hg qheader [PATCH]')),
2515 "^qimport":
2515 "^qimport":
2516 (qimport,
2516 (qimport,
2517 [('e', 'existing', None, _('import file in patch dir')),
2517 [('e', 'existing', None, _('import file in patch directory')),
2518 ('n', 'name', '', _('patch file name')),
2518 ('n', 'name', '', _('patch file name')),
2519 ('f', 'force', None, _('overwrite existing files')),
2519 ('f', 'force', None, _('overwrite existing files')),
2520 ('r', 'rev', [], _('place existing revisions under mq control')),
2520 ('r', 'rev', [], _('place existing revisions under mq control')),
@@ -2567,7 +2567,7 b' cmdtable = {'
2567 "qrestore":
2567 "qrestore":
2568 (restore,
2568 (restore,
2569 [('d', 'delete', None, _('delete save entry')),
2569 [('d', 'delete', None, _('delete save entry')),
2570 ('u', 'update', None, _('update queue working dir'))],
2570 ('u', 'update', None, _('update queue working directory'))],
2571 _('hg qrestore [-d] [-u] REV')),
2571 _('hg qrestore [-d] [-u] REV')),
2572 "qsave":
2572 "qsave":
2573 (save,
2573 (save,
@@ -2088,7 +2088,7 b' def outgoing(ui, repo, dest=None, **opts'
2088 displayer.show(repo[n])
2088 displayer.show(repo[n])
2089
2089
2090 def parents(ui, repo, file_=None, **opts):
2090 def parents(ui, repo, file_=None, **opts):
2091 """show the parents of the working dir or revision
2091 """show the parents of the working directory or revision
2092
2092
2093 Print the working directory's parent revisions. If a revision is
2093 Print the working directory's parent revisions. If a revision is
2094 given via --rev, the parent of that revision will be printed. If a
2094 given via --rev, the parent of that revision will be printed. If a
@@ -2399,10 +2399,10 b' def resolve(ui, repo, *pats, **opts):'
2399 util.rename(a + ".resolve", a + ".orig")
2399 util.rename(a + ".resolve", a + ".orig")
2400
2400
2401 def revert(ui, repo, *pats, **opts):
2401 def revert(ui, repo, *pats, **opts):
2402 """restore individual files or dirs to an earlier state
2402 """restore individual files or directories to an earlier state
2403
2403
2404 (use update -r to check out earlier revisions, revert does not
2404 (use update -r to check out earlier revisions, revert does not
2405 change the working dir parents)
2405 change the working directory parents)
2406
2406
2407 With no revision specified, revert the named files or directories
2407 With no revision specified, revert the named files or directories
2408 to the contents they had in the parent of the working directory.
2408 to the contents they had in the parent of the working directory.
@@ -2644,7 +2644,7 b' def rollback(ui, repo):'
2644 repo.rollback()
2644 repo.rollback()
2645
2645
2646 def root(ui, repo):
2646 def root(ui, repo):
2647 """print the root (top) of the current working dir
2647 """print the root (top) of the current working directory
2648
2648
2649 Print the root directory of the current repository.
2649 Print the root directory of the current repository.
2650 """
2650 """
@@ -2924,13 +2924,13 b' def update(ui, repo, node=None, rev=None'
2924 Use null as the revision to remove the working copy (like 'hg
2924 Use null as the revision to remove the working copy (like 'hg
2925 clone -U').
2925 clone -U').
2926
2926
2927 When the working dir contains no uncommitted changes, it will be
2927 When the working directory contains no uncommitted changes, it will be
2928 replaced by the state of the requested revision from the repo.
2928 replaced by the state of the requested revision from the repo.
2929 When the requested revision is on a different branch, the working
2929 When the requested revision is on a different branch, the working
2930 dir will additionally be switched to that branch.
2930 directory will additionally be switched to that branch.
2931
2931
2932 When there are uncommitted changes, use option -C to discard them,
2932 When there are uncommitted changes, use option -C to discard them,
2933 forcibly replacing the state of the working dir with the requested
2933 forcibly replacing the state of the working directory with the requested
2934 revision.
2934 revision.
2935
2935
2936 When there are uncommitted changes and option -C is not used, and
2936 When there are uncommitted changes and option -C is not used, and
@@ -3385,7 +3385,7 b' table = {'
3385 ('a', 'address', '', _('address to listen on (default: all interfaces)')),
3385 ('a', 'address', '', _('address to listen on (default: all interfaces)')),
3386 ('', 'prefix', '', _('prefix path to serve from (default: server root)')),
3386 ('', 'prefix', '', _('prefix path to serve from (default: server root)')),
3387 ('n', 'name', '',
3387 ('n', 'name', '',
3388 _('name to show in web pages (default: working dir)')),
3388 _('name to show in web pages (default: working directory)')),
3389 ('', 'webdir-conf', '', _('name of the webdir config file'
3389 ('', 'webdir-conf', '', _('name of the webdir config file'
3390 ' (serve more than one repo)')),
3390 ' (serve more than one repo)')),
3391 ('', 'pid-file', '', _('name of file to write process ID to')),
3391 ('', 'pid-file', '', _('name of file to write process ID to')),
@@ -53,7 +53,7 b' convert a foreign SCM repository to a Me'
53
53
54 The 'include' directive causes a file, or all files under a
54 The 'include' directive causes a file, or all files under a
55 directory, to be included in the destination repository, and the
55 directory, to be included in the destination repository, and the
56 exclusion of all other files and dirs not explicitely included.
56 exclusion of all other files and directories not explicitely included.
57 The 'exclude' directive causes files or directories to be omitted.
57 The 'exclude' directive causes files or directories to be omitted.
58 The 'rename' directive renames a file or directory. To rename from
58 The 'rename' directive renames a file or directory. To rename from
59 a subdirectory into the root of the repository, use '.' as the
59 a subdirectory into the root of the repository, use '.' as the
@@ -176,7 +176,7 b' list of commands:'
176 manifest output the current or given revision of the project manifest
176 manifest output the current or given revision of the project manifest
177 merge merge working directory with another revision
177 merge merge working directory with another revision
178 outgoing show changesets not found in destination
178 outgoing show changesets not found in destination
179 parents show the parents of the working dir or revision
179 parents show the parents of the working directory or revision
180 paths show aliases for remote repositories
180 paths show aliases for remote repositories
181 pull pull changes from the specified source
181 pull pull changes from the specified source
182 push push changes to the specified destination
182 push push changes to the specified destination
@@ -184,9 +184,9 b' list of commands:'
184 remove remove the specified files on the next commit
184 remove remove the specified files on the next commit
185 rename rename files; equivalent of copy + remove
185 rename rename files; equivalent of copy + remove
186 resolve retry file merges from a merge or update
186 resolve retry file merges from a merge or update
187 revert restore individual files or dirs to an earlier state
187 revert restore individual files or directories to an earlier state
188 rollback roll back the last transaction
188 rollback roll back the last transaction
189 root print the root (top) of the current working dir
189 root print the root (top) of the current working directory
190 serve export the repository via HTTP
190 serve export the repository via HTTP
191 showconfig show combined config settings from all hgrc files
191 showconfig show combined config settings from all hgrc files
192 status show changed files in the working directory
192 status show changed files in the working directory
@@ -241,7 +241,7 b' list of commands:'
241 manifest output the current or given revision of the project manifest
241 manifest output the current or given revision of the project manifest
242 merge merge working directory with another revision
242 merge merge working directory with another revision
243 outgoing show changesets not found in destination
243 outgoing show changesets not found in destination
244 parents show the parents of the working dir or revision
244 parents show the parents of the working directory or revision
245 paths show aliases for remote repositories
245 paths show aliases for remote repositories
246 pull pull changes from the specified source
246 pull pull changes from the specified source
247 push push changes to the specified destination
247 push push changes to the specified destination
@@ -249,9 +249,9 b' list of commands:'
249 remove remove the specified files on the next commit
249 remove remove the specified files on the next commit
250 rename rename files; equivalent of copy + remove
250 rename rename files; equivalent of copy + remove
251 resolve retry file merges from a merge or update
251 resolve retry file merges from a merge or update
252 revert restore individual files or dirs to an earlier state
252 revert restore individual files or directories to an earlier state
253 rollback roll back the last transaction
253 rollback roll back the last transaction
254 root print the root (top) of the current working dir
254 root print the root (top) of the current working directory
255 serve export the repository via HTTP
255 serve export the repository via HTTP
256 showconfig show combined config settings from all hgrc files
256 showconfig show combined config settings from all hgrc files
257 status show changed files in the working directory
257 status show changed files in the working directory
@@ -11,7 +11,7 b' basic commands:'
11 init create a new repository in the given directory
11 init create a new repository in the given directory
12 log show revision history of entire repository or files
12 log show revision history of entire repository or files
13 merge merge working directory with another revision
13 merge merge working directory with another revision
14 parents show the parents of the working dir or revision
14 parents show the parents of the working directory or revision
15 pull pull changes from the specified source
15 pull pull changes from the specified source
16 push push changes to the specified destination
16 push push changes to the specified destination
17 remove remove the specified files on the next commit
17 remove remove the specified files on the next commit
@@ -29,7 +29,7 b' use "hg help" for the full list of comma'
29 init create a new repository in the given directory
29 init create a new repository in the given directory
30 log show revision history of entire repository or files
30 log show revision history of entire repository or files
31 merge merge working directory with another revision
31 merge merge working directory with another revision
32 parents show the parents of the working dir or revision
32 parents show the parents of the working directory or revision
33 pull pull changes from the specified source
33 pull pull changes from the specified source
34 push push changes to the specified destination
34 push push changes to the specified destination
35 remove remove the specified files on the next commit
35 remove remove the specified files on the next commit
@@ -67,7 +67,7 b' list of commands:'
67 manifest output the current or given revision of the project manifest
67 manifest output the current or given revision of the project manifest
68 merge merge working directory with another revision
68 merge merge working directory with another revision
69 outgoing show changesets not found in destination
69 outgoing show changesets not found in destination
70 parents show the parents of the working dir or revision
70 parents show the parents of the working directory or revision
71 paths show aliases for remote repositories
71 paths show aliases for remote repositories
72 pull pull changes from the specified source
72 pull pull changes from the specified source
73 push push changes to the specified destination
73 push push changes to the specified destination
@@ -75,9 +75,9 b' list of commands:'
75 remove remove the specified files on the next commit
75 remove remove the specified files on the next commit
76 rename rename files; equivalent of copy + remove
76 rename rename files; equivalent of copy + remove
77 resolve retry file merges from a merge or update
77 resolve retry file merges from a merge or update
78 revert restore individual files or dirs to an earlier state
78 revert restore individual files or directories to an earlier state
79 rollback roll back the last transaction
79 rollback roll back the last transaction
80 root print the root (top) of the current working dir
80 root print the root (top) of the current working directory
81 serve export the repository via HTTP
81 serve export the repository via HTTP
82 showconfig show combined config settings from all hgrc files
82 showconfig show combined config settings from all hgrc files
83 status show changed files in the working directory
83 status show changed files in the working directory
@@ -128,7 +128,7 b' use "hg -v help" to show aliases and glo'
128 manifest output the current or given revision of the project manifest
128 manifest output the current or given revision of the project manifest
129 merge merge working directory with another revision
129 merge merge working directory with another revision
130 outgoing show changesets not found in destination
130 outgoing show changesets not found in destination
131 parents show the parents of the working dir or revision
131 parents show the parents of the working directory or revision
132 paths show aliases for remote repositories
132 paths show aliases for remote repositories
133 pull pull changes from the specified source
133 pull pull changes from the specified source
134 push push changes to the specified destination
134 push push changes to the specified destination
@@ -136,9 +136,9 b' use "hg -v help" to show aliases and glo'
136 remove remove the specified files on the next commit
136 remove remove the specified files on the next commit
137 rename rename files; equivalent of copy + remove
137 rename rename files; equivalent of copy + remove
138 resolve retry file merges from a merge or update
138 resolve retry file merges from a merge or update
139 revert restore individual files or dirs to an earlier state
139 revert restore individual files or directories to an earlier state
140 rollback roll back the last transaction
140 rollback roll back the last transaction
141 root print the root (top) of the current working dir
141 root print the root (top) of the current working directory
142 serve export the repository via HTTP
142 serve export the repository via HTTP
143 showconfig show combined config settings from all hgrc files
143 showconfig show combined config settings from all hgrc files
144 status show changed files in the working directory
144 status show changed files in the working directory
@@ -308,7 +308,7 b' basic commands:'
308 init create a new repository in the given directory
308 init create a new repository in the given directory
309 log show revision history of entire repository or files
309 log show revision history of entire repository or files
310 merge merge working directory with another revision
310 merge merge working directory with another revision
311 parents show the parents of the working dir or revision
311 parents show the parents of the working directory or revision
312 pull pull changes from the specified source
312 pull pull changes from the specified source
313 push push changes to the specified destination
313 push push changes to the specified destination
314 remove remove the specified files on the next commit
314 remove remove the specified files on the next commit
@@ -331,7 +331,7 b' basic commands:'
331 init create a new repository in the given directory
331 init create a new repository in the given directory
332 log show revision history of entire repository or files
332 log show revision history of entire repository or files
333 merge merge working directory with another revision
333 merge merge working directory with another revision
334 parents show the parents of the working dir or revision
334 parents show the parents of the working directory or revision
335 pull pull changes from the specified source
335 pull pull changes from the specified source
336 push push changes to the specified destination
336 push push changes to the specified destination
337 remove remove the specified files on the next commit
337 remove remove the specified files on the next commit
@@ -13,7 +13,7 b' basic commands:'
13 init create a new repository in the given directory
13 init create a new repository in the given directory
14 log show revision history of entire repository or files
14 log show revision history of entire repository or files
15 merge merge working directory with another revision
15 merge merge working directory with another revision
16 parents show the parents of the working dir or revision
16 parents show the parents of the working directory or revision
17 pull pull changes from the specified source
17 pull pull changes from the specified source
18 push push changes to the specified destination
18 push push changes to the specified destination
19 remove remove the specified files on the next commit
19 remove remove the specified files on the next commit
@@ -14,7 +14,7 b' basic commands:'
14 init create a new repository in the given directory
14 init create a new repository in the given directory
15 log show revision history of entire repository or files
15 log show revision history of entire repository or files
16 merge merge working directory with another revision
16 merge merge working directory with another revision
17 parents show the parents of the working dir or revision
17 parents show the parents of the working directory or revision
18 pull pull changes from the specified source
18 pull pull changes from the specified source
19 push push changes to the specified destination
19 push push changes to the specified destination
20 remove remove the specified files on the next commit
20 remove remove the specified files on the next commit
General Comments 0
You need to be logged in to leave comments. Login now