##// END OF EJS Templates
help: miscellaneous language fixes
timeless -
r7807:bd8f4463 default
parent child Browse files
Show More
@@ -48,7 +48,7 b' The "-m" (mbox) option is also very usef'
48 each patchbomb message in a pager or sending the messages directly,
48 each patchbomb message in a pager or sending the messages directly,
49 it will create a UNIX mailbox file with the patch emails. This
49 it will create a UNIX mailbox file with the patch emails. This
50 mailbox file can be previewed with any mail user agent which supports
50 mailbox file can be previewed with any mail user agent which supports
51 UNIX mbox files, i.e. with mutt:
51 UNIX mbox files, e.g. with mutt:
52
52
53 % mutt -R -f mbox
53 % mutt -R -f mbox
54
54
@@ -444,7 +444,7 b' def patchbomb(ui, repo, *revs, **opts):'
444 emailopts = [
444 emailopts = [
445 ('a', 'attach', None, _('send patches as attachments')),
445 ('a', 'attach', None, _('send patches as attachments')),
446 ('i', 'inline', None, _('send patches as inline attachments')),
446 ('i', 'inline', None, _('send patches as inline attachments')),
447 ('', 'bcc', [], _('email addresses of blind copy recipients')),
447 ('', 'bcc', [], _('email addresses of blind carbon copy recipients')),
448 ('c', 'cc', [], _('email addresses of copy recipients')),
448 ('c', 'cc', [], _('email addresses of copy recipients')),
449 ('d', 'diffstat', None, _('add diffstat output to messages')),
449 ('d', 'diffstat', None, _('add diffstat output to messages')),
450 ('', 'date', '', _('use the given date as the sending date')),
450 ('', 'date', '', _('use the given date as the sending date')),
@@ -24,7 +24,7 b' def _string_escape(text):'
24 return text.replace('\0', '\\0')
24 return text.replace('\0', '\\0')
25
25
26 class appender:
26 class appender:
27 '''the changelog index must be update last on disk, so we use this class
27 '''the changelog index must be updated last on disk, so we use this class
28 to delay writes to it'''
28 to delay writes to it'''
29 def __init__(self, fp, buf):
29 def __init__(self, fp, buf):
30 self.data = buf
30 self.data = buf
@@ -940,10 +940,10 b' def finddate(ui, repo, date):'
940 raise util.Abort(_("revision matching date not found"))
940 raise util.Abort(_("revision matching date not found"))
941
941
942 def walkchangerevs(ui, repo, pats, change, opts):
942 def walkchangerevs(ui, repo, pats, change, opts):
943 '''Iterate over files and the revs they changed in.
943 '''Iterate over files and the revs in which they changed.
944
944
945 Callers most commonly need to iterate backwards over the history
945 Callers most commonly need to iterate backwards over the history
946 it is interested in. Doing so has awful (quadratic-looking)
946 in which they are interested. Doing so has awful (quadratic-looking)
947 performance, so we use iterators in a "windowed" way.
947 performance, so we use iterators in a "windowed" way.
948
948
949 We walk a window of revisions in the desired order. Within the
949 We walk a window of revisions in the desired order. Within the
@@ -23,7 +23,7 b' def add(ui, repo, *pats, **opts):'
23 The files will be added to the repository at the next commit. To
23 The files will be added to the repository at the next commit. To
24 undo an add before that, see hg revert.
24 undo an add before that, see hg revert.
25
25
26 If no names are given, add all files in the repository.
26 If no names are given, add all files to the repository.
27 """
27 """
28
28
29 rejected = None
29 rejected = None
@@ -184,7 +184,7 b' def backout(ui, repo, node=None, rev=Non'
184 The --merge option remembers the parent of the working directory
184 The --merge option remembers the parent of the working directory
185 before starting the backout, then merges the new head with that
185 before starting the backout, then merges the new head with that
186 changeset afterwards. This saves you from doing the merge by
186 changeset afterwards. This saves you from doing the merge by
187 hand. The result of this merge is not committed, as for a normal
187 hand. The result of this merge is not committed, as with a normal
188 merge.
188 merge.
189
189
190 See \'hg help dates\' for a list of formats valid for -d/--date.
190 See \'hg help dates\' for a list of formats valid for -d/--date.
@@ -277,7 +277,7 b' def bisect(ui, repo, rev=None, extra=Non'
277 If you supply a command it will be used for automatic bisection. Its exit
277 If you supply a command it will be used for automatic bisection. Its exit
278 status will be used as flag to mark revision as bad or good. In case exit
278 status will be used as flag to mark revision as bad or good. In case exit
279 status is 0 the revision is marked as good, 125 - skipped, 127 (command not
279 status is 0 the revision is marked as good, 125 - skipped, 127 (command not
280 found) - bisection will be aborted and any other status bigger than 0 will
280 found) - bisection will be aborted; any other status bigger than 0 will
281 mark revision as bad.
281 mark revision as bad.
282 """
282 """
283 def print_result(nodes, good):
283 def print_result(nodes, good):
@@ -456,7 +456,7 b' def bundle(ui, repo, fname, dest=None, *'
456 """create a changegroup file
456 """create a changegroup file
457
457
458 Generate a compressed changegroup file collecting changesets not
458 Generate a compressed changegroup file collecting changesets not
459 found in the other repository.
459 known to be in another repository.
460
460
461 If no destination repository is specified the destination is
461 If no destination repository is specified the destination is
462 assumed to have all the nodes specified by one or more --base
462 assumed to have all the nodes specified by one or more --base
@@ -614,7 +614,7 b' def commit(ui, repo, *pats, **opts):'
614 file names or -I/-X filters.
614 file names or -I/-X filters.
615
615
616 If no commit message is specified, the configured editor is started to
616 If no commit message is specified, the configured editor is started to
617 enter a message.
617 prompt you for a message.
618
618
619 See 'hg help dates' for a list of formats valid for -d/--date.
619 See 'hg help dates' for a list of formats valid for -d/--date.
620 """
620 """
@@ -653,13 +653,13 b' def copy(ui, repo, *pats, **opts):'
653
653
654 Mark dest as having copies of source files. If dest is a
654 Mark dest as having copies of source files. If dest is a
655 directory, copies are put in that directory. If dest is a file,
655 directory, copies are put in that directory. If dest is a file,
656 there can only be one source.
656 the source must be a single file.
657
657
658 By default, this command copies the contents of files as they
658 By default, this command copies the contents of files as they
659 stand in the working directory. If invoked with --after, the
659 stand in the working directory. If invoked with --after, the
660 operation is recorded, but no copying is performed.
660 operation is recorded, but no copying is performed.
661
661
662 This command takes effect in the next commit. To undo a copy
662 This command takes effect with the next commit. To undo a copy
663 before that, see hg revert.
663 before that, see hg revert.
664 """
664 """
665 wlock = repo.wlock(False)
665 wlock = repo.wlock(False)
@@ -1023,7 +1023,7 b' def diff(ui, repo, *pats, **opts):'
1023 probably with undesirable results.
1023 probably with undesirable results.
1024
1024
1025 Use the --git option to generate diffs in the git extended diff
1025 Use the --git option to generate diffs in the git extended diff
1026 format. Read the diffs help topic for more information.
1026 format. For more information, read hg help diffs.
1027 """
1027 """
1028
1028
1029 revs = opts.get('rev')
1029 revs = opts.get('rev')
@@ -1857,8 +1857,8 b' def log(ui, repo, *pats, **opts):'
1857 files and full commit message is shown.
1857 files and full commit message is shown.
1858
1858
1859 NOTE: log -p may generate unexpected diff output for merge
1859 NOTE: log -p may generate unexpected diff output for merge
1860 changesets, as it will compare the merge changeset against its
1860 changesets, as it will only compare the merge changeset against
1861 first parent only. Also, the files: list will only reflect files
1861 its first parent. Also, the files: list will only reflect files
1862 that are different from BOTH parents.
1862 that are different from BOTH parents.
1863
1863
1864 """
1864 """
@@ -2312,10 +2312,10 b' def rename(ui, repo, *pats, **opts):'
2312 a file, there can only be one source.
2312 a file, there can only be one source.
2313
2313
2314 By default, this command copies the contents of files as they
2314 By default, this command copies the contents of files as they
2315 stand in the working directory. If invoked with --after, the
2315 exist in the working directory. If invoked with --after, the
2316 operation is recorded, but no copying is performed.
2316 operation is recorded, but no copying is performed.
2317
2317
2318 This command takes effect in the next commit. To undo a rename
2318 This command takes effect at the next commit. To undo a rename
2319 before that, see hg revert.
2319 before that, see hg revert.
2320 """
2320 """
2321 wlock = repo.wlock(False)
2321 wlock = repo.wlock(False)
@@ -169,7 +169,7 b' add the specified files on the next comm'
169 The files will be added to the repository at the next commit. To
169 The files will be added to the repository at the next commit. To
170 undo an add before that, see hg revert.
170 undo an add before that, see hg revert.
171
171
172 If no names are given, add all files in the repository.
172 If no names are given, add all files to the repository.
173
173
174 options:
174 options:
175
175
@@ -188,7 +188,7 b' add the specified files on the next comm'
188 The files will be added to the repository at the next commit. To
188 The files will be added to the repository at the next commit. To
189 undo an add before that, see hg revert.
189 undo an add before that, see hg revert.
190
190
191 If no names are given, add all files in the repository.
191 If no names are given, add all files to the repository.
192
192
193 options:
193 options:
194
194
@@ -220,7 +220,7 b' diff repository (or selected files)'
220 probably with undesirable results.
220 probably with undesirable results.
221
221
222 Use the --git option to generate diffs in the git extended diff
222 Use the --git option to generate diffs in the git extended diff
223 format. Read the diffs help topic for more information.
223 format. For more information, read hg help diffs.
224
224
225 options:
225 options:
226
226
General Comments 0
You need to be logged in to leave comments. Login now