tests/test-topic.t
changeset 1867 c9cacc62fa17
parent 1866 13fc93fb7fbe
child 1868 5cdd5e0a421c
--- a/tests/test-topic.t	Thu Oct 08 20:42:26 2015 -0700
+++ b/tests/test-topic.t	Thu Oct 08 20:43:15 2015 -0700
@@ -157,6 +157,24 @@
    file alpha
    topic work
   +narf!!!
+
+Import
+
+  $ hg -R pinky export > narf.diff
+  $ hg -R pinky --config extensions.strip= strip .
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  saved backup bundle to $TESTTMP/pinky/.hg/strip-backup/7c34953036d6-1ff3bae2-backup.hg (glob)
+  $ hg -R pinky import narf.diff
+  applying narf.diff
+  $ hg -R pinky log -r .
+  changeset:   6:7c34953036d6
+  tag:         tip
+  topic:       narf
+  parent:      4:fb147b0b417c
+  user:        test
+  date:        Thu Jan 01 00:00:00 1970 +0000
+  summary:     narf!
+  
 Now that we've pushed to brain, the work done on narf is no longer a
 draft, so we won't see that topic name anymore: