comparison hgext/extdiff.py @ 29723:91b2f2176395

extdiff: isolate path variable of saved command to independent paragraph Otherwise, the whole paragraph wouldn't be translated.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 27 Jul 2016 21:44:49 +0900
parents 14c3afcb1c26
children d5883fd055c6
comparison
equal deleted inserted replaced
29722:14c3afcb1c26 29723:91b2f2176395
323 option = option or ['-Npru'] 323 option = option or ['-Npru']
324 cmdline = ' '.join(map(util.shellquote, [program] + option)) 324 cmdline = ' '.join(map(util.shellquote, [program] + option))
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
335 that revision is compared to the working directory, and, when no 337 that revision is compared to the working directory, and, when no
336 revisions are specified, the working directory files are compared 338 revisions are specified, the working directory files are compared