##// END OF EJS Templates
diff: add --inverse option...
diff: add --inverse option Most of the time, one can reverse a diff by swapping the revisions passed with -r but it happens that if you use the global -R, and diff against the tip of the current repo, you can't swap the revisions. One use-case for that is reviewing changes from a bundle before unbundling. One could also pipe the output of `hg diff` to a command line filter that reverses the diff, but that would remove the benefit from color diffs. Therefore, having an option in `hg diff` to reverse a diff is a good thing. The option flag selection was tricky. GNU patch uses -R/--reverse but -R is already used as a global option and --reverse would make --rev ambiguous.

File last commit:

r9110:561ff8d9 default
r9725:3f522d2f default
Show More
test-mq-qdelete.out
54 lines | 916 B | text/plain | TextLexer
/ tests / test-mq-qdelete.out
Brendan Cully
mq: add qdelete --forget option...
r3088 adding base
Brendan Cully
mq: more qdelete help text tweaks
r4737 abort: qdelete requires at least one revision or patch name
Brendan Cully
mq: add qdelete --forget option...
r3088 abort: cannot delete applied patch c
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping c
Martin Geisler
mq: lowercase output...
r7627 now at: b
Brendan Cully
mq: add qdelete --forget option...
r3088 a
b
a
b
series
status
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping b
Martin Geisler
mq: lowercase output...
r7627 now at: a
Brendan Cully
mq: add qdelete --forget option...
r3088 a
b
series
status
Dirkjan Ochtman
mq: unify code for qdel -r and qfin
r8833 patch a finalized without changeset message
Brendan Cully
mq: regularize patch header creation....
r4722 1 [mq]: a
Brendan Cully
mq: add qdelete --forget option...
r3088 0 base
Brendan Cully
Update test-mq-qdelete to use qdel -r
r3376 abort: cannot delete revision 3 above applied patches
Dirkjan Ochtman
mq: unify code for qdel -r and qfin
r8833 patch d finalized without changeset message
patch e finalized without changeset message
Brendan Cully
mq: add qdelete --forget option...
r3088 f
Brendan Cully
mq: regularize patch header creation....
r4722 4 [mq]: f
3 [mq]: e
2 [mq]: d
1 [mq]: a
Brendan Cully
mq: add qdelete --forget option...
r3088 0 base
Dirkjan Ochtman
mq: introduce the qfinish command
r6645 adding base
abort: no revisions specified
no patches applied
abort: revision 0 is not managed
abort: cannot delete revision 2 above applied patches
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping c
Martin Geisler
mq: lowercase output...
r7627 now at: b
Dirkjan Ochtman
mq: introduce the qfinish command
r6645 abort: unknown revision 'c'!
applying c
Matt Mackall
mq: handle empty patches more gracefully (issue1501)
r7782 patch c is empty
Martin Geisler
mq: lowercase output...
r7627 now at: c
Dirkjan Ochtman
mq: warn about finalizing patches without cset message
r8832 patch a finalized without changeset message
patch b finalized without changeset message
Dirkjan Ochtman
mq: introduce the qfinish command
r6645 c
3 imported patch c
2 [mq]: b
1 [mq]: a
0 base
Dirkjan Ochtman
mq: warn about finalizing patches without cset message
r8832 patch c finalized without changeset message
Dirkjan Ochtman
mq: introduce the qfinish command
r6645 3 imported patch c
2 [mq]: b
1 [mq]: a
0 base
series
status