##// END OF EJS Templates
merge with stable
Sune Foldager -
r9957:ad44e1f8 merge default
parent child Browse files
Show More
@@ -254,7 +254,8 b' def uisetup(ui):'
254 def save(cmd, path, diffopts):
254 def save(cmd, path, diffopts):
255 '''use closure to save diff command to use'''
255 '''use closure to save diff command to use'''
256 def mydiff(ui, repo, *pats, **opts):
256 def mydiff(ui, repo, *pats, **opts):
257 return dodiff(ui, repo, path, diffopts, pats, opts)
257 return dodiff(ui, repo, path, diffopts + opts['option'],
258 pats, opts)
258 doc = _('''\
259 doc = _('''\
259 use %(path)s to diff repository (or selected files)
260 use %(path)s to diff repository (or selected files)
260
261
@@ -65,3 +65,9 b' chmod +x differ.py'
65 hg extdiff -p `pwd`/differ.py # will change to /tmp/extdiff.TMP and populate directories a.TMP and a and start tool
65 hg extdiff -p `pwd`/differ.py # will change to /tmp/extdiff.TMP and populate directories a.TMP and a and start tool
66 echo '% diff in working directory, after'
66 echo '% diff in working directory, after'
67 hg diff --git
67 hg diff --git
68
69 echo
70 echo % test extdiff with --option
71 hg extdiff -p echo -o this -c 1
72 hg falabala -o this -c 1
73 echo
@@ -68,3 +68,8 b' new mode 100755'
68 -b
68 -b
69 +changed
69 +changed
70 +edited
70 +edited
71
72 % test extdiff with --option
73 this a.8a5febb7f867/a a.34eed99112ab/a
74 diffing this a.8a5febb7f867/a a.34eed99112ab/a
75
General Comments 0
You need to be logged in to leave comments. Login now