mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +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.
28 lines
277 B
Plaintext
28 lines
277 B
Plaintext
% init
|
|
adding a
|
|
% fold in the middle of the queue
|
|
popping p3
|
|
popping p2
|
|
now at: p1
|
|
--- a/a
|
|
+++ b/a
|
|
@@ -1,1 +1,2 @@
|
|
a
|
|
+a
|
|
p1
|
|
p3
|
|
--- a/a
|
|
+++ b/a
|
|
@@ -1,1 +1,3 @@
|
|
a
|
|
+a
|
|
+b
|
|
% fold with local changes
|
|
abort: local changes found, refresh first
|
|
--- a/a
|
|
+++ b/a
|
|
@@ -1,1 +1,3 @@
|
|
a
|
|
+a
|
|
+b
|