comparison hgext/extdiff.py @ 9207:38d29d3bf190

extdiff: use reST syntax for literal block
author Martin Geisler <mg@lazybytes.net>
date Thu, 23 Jul 2009 00:22:50 +0200
parents 269764ecffe2
children 50ebe8845a1b
comparison
equal deleted inserted replaced
9206:c1a1b49221e3 9207:38d29d3bf190
11 compare revisions, or revision with working directory. The external diff 11 compare revisions, or revision with working directory. The external diff
12 programs are called with a configurable set of options and two non-option 12 programs are called with a configurable set of options and two non-option
13 arguments: paths to directories containing snapshots of files to compare. 13 arguments: paths to directories containing snapshots of files to compare.
14 14
15 The `extdiff' extension also allows to configure new diff commands, so you do 15 The `extdiff' extension also allows to configure new diff commands, so you do
16 not need to type "hg extdiff -p kdiff3" always. 16 not need to type "hg extdiff -p kdiff3" always. ::
17 17
18 [extdiff] 18 [extdiff]
19 # add new command that runs GNU diff(1) in 'context diff' mode 19 # add new command that runs GNU diff(1) in 'context diff' mode
20 cdiff = gdiff -Nprc5 20 cdiff = gdiff -Nprc5
21 ## or the old way: 21 ## or the old way: