Comments
Patch
@@ -1451,3 +1451,33 @@
record this change to 'bar2'?
(enter ? for help) [Ynesfdaq?] y
+-- test for unshelve --interactive --keep
+ $ hg unshelve -i --keep <<EOF
+ > y
+ > y
+ > EOF
+ unshelving change 'default'
+ temporarily committing pending changes (restore with 'hg unshelve --abort')
+ rebasing shelved changes
+ diff --git a/foo b/foo
+ 1 hunks, 1 lines changed
+ examine changes to 'foo'?
+ (enter ? for help) [Ynesfdaq?] y
+
+ @@ -1,2 +1,3 @@
+ A
+ B
+ +C
+ record this change to 'foo'?
+ (enter ? for help) [Ynesfdaq?] y
+
+ $ hg shelve --patch
+ default (*)* changes to: add B to foo (glob)
+
+ diff --git a/foo b/foo
+ --- a/foo
+ +++ b/foo
+ @@ -1,2 +1,3 @@
+ A
+ B
+ +C