##// END OF EJS Templates
extdiff: isolate path variable of saved command to independent paragraph...
Yuya Nishihara -
r29723:91b2f217 default
parent child Browse files
Show More
@@ -325,10 +325,12 b' def extdiff(ui, repo, *pats, **opts):'
325 return dodiff(ui, repo, cmdline, pats, opts)
325 return dodiff(ui, repo, cmdline, pats, opts)
326
326
327 class savedcmd(object):
327 class savedcmd(object):
328 """use %(path)s to diff repository (or selected files)
328 """use external program to diff repository (or selected files)
329
329
330 Show differences between revisions for the specified files, using
330 Show differences between revisions for the specified files, using
331 the %(path)s program.
331 the following program::
332
333 %(path)s
332
334
333 When two revision arguments are given, then changes are shown
335 When two revision arguments are given, then changes are shown
334 between those revisions. If only one revision is specified then
336 between those revisions. If only one revision is specified then
@@ -31,10 +31,12 b' Should diff cloned directories:'
31 $ hg help falabala
31 $ hg help falabala
32 hg falabala [OPTION]... [FILE]...
32 hg falabala [OPTION]... [FILE]...
33
33
34 use 'echo' to diff repository (or selected files)
34 use external program to diff repository (or selected files)
35
35
36 Show differences between revisions for the specified files, using the
36 Show differences between revisions for the specified files, using the
37 'echo' program.
37 following program:
38
39 'echo'
38
40
39 When two revision arguments are given, then changes are shown between
41 When two revision arguments are given, then changes are shown between
40 those revisions. If only one revision is specified then that revision is
42 those revisions. If only one revision is specified then that revision is
@@ -407,5 +409,6 b' Test handling of non-ASCII paths in gene'
407 (try "hg help" for a list of topics)
409 (try "hg help" for a list of topics)
408 [255]
410 [255]
409
411
410 $ LC_MESSAGES=ja_JP.UTF-8 hg --config hgext.extdiff= --config extdiff.cmd.td=$U help td | grep "^use"
412 $ LC_MESSAGES=ja_JP.UTF-8 hg --config hgext.extdiff= --config extdiff.cmd.td=$U help td \
411 use '\xa5\xa5' to diff repository (or selected files)
413 > | grep "^ '"
414 '\xa5\xa5'
General Comments 0
You need to be logged in to leave comments. Login now