mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
b3ac6d2456
When navigating through a patch series by qpushing and qpopping it was easy to get lost because qpop was silent. I found myself often running qnext after qpop to see which patch I just dropped - especially if I was about to qrm it. This patch makes qpop more symmetric to qpush by showing which patches are applied/"unapplied". I think it is a good change even though it changes output by adding a new line of output.
32 lines
504 B
Plaintext
32 lines
504 B
Plaintext
adding a
|
|
popping c.patch
|
|
popping b.patch
|
|
now at: a.patch
|
|
applying b.patch
|
|
applying c.patch
|
|
now at: c.patch
|
|
popping c.patch
|
|
now at: b.patch
|
|
|
|
% Using index
|
|
popping b.patch
|
|
now at: a.patch
|
|
applying b.patch
|
|
applying c.patch
|
|
now at: c.patch
|
|
|
|
% No warnings when using index
|
|
popping bug141421
|
|
popping bug314159
|
|
popping c.patch
|
|
now at: b.patch
|
|
applying c.patch
|
|
applying bug314159
|
|
now at: bug314159
|
|
|
|
% Detect ambiguous non-index
|
|
patch name "14" is ambiguous:
|
|
bug314159
|
|
bug141421
|
|
abort: patch 14 not in series
|