Mercurial > hg
comparison tests/test-help.out @ 9857:24bc6e414610
diff: change --inverse to --reverse
This fixes an incompatibility with patch(1), which also uses --reverse
for reversed diffs. The --inverse flag was added in 3f522d2fa633. That
name was chosen over --reverse since it was thought that --reverse
would make --rev ambiguous.
It turns out that both flags can co-exist, with the cost that --rev
can no longer be shortened to --r and --re. Since one can always use
the short -r option, this is not a real problem.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 14 Nov 2009 14:21:53 +0100 |
parents | b52f0f221325 |
children | 54cd28258ea7 |
comparison
equal
deleted
inserted
replaced
9856:ed362d41d1f6 | 9857:24bc6e414610 |
---|---|
237 -c --change change made by revision | 237 -c --change change made by revision |
238 -a --text treat all files as text | 238 -a --text treat all files as text |
239 -g --git use git extended diff format | 239 -g --git use git extended diff format |
240 --nodates don't include dates in diff headers | 240 --nodates don't include dates in diff headers |
241 -p --show-function show which function each change is in | 241 -p --show-function show which function each change is in |
242 --inverse produce a diff that undoes the changes | 242 --reverse produce a diff that undoes the changes |
243 -w --ignore-all-space ignore white space when comparing lines | 243 -w --ignore-all-space ignore white space when comparing lines |
244 -b --ignore-space-change ignore changes in the amount of white space | 244 -b --ignore-space-change ignore changes in the amount of white space |
245 -B --ignore-blank-lines ignore changes whose lines are all blank | 245 -B --ignore-blank-lines ignore changes whose lines are all blank |
246 -U --unified number of lines of context to show | 246 -U --unified number of lines of context to show |
247 --stat output diffstat-style summary of changes | 247 --stat output diffstat-style summary of changes |