tests/test-phabricator.t
changeset 44550 bbb170f9396d
parent 44436 09f3e003fc2a
child 44551 9bae1d1a0f4c
--- a/tests/test-phabricator.t	Thu Mar 12 10:14:40 2020 +0100
+++ b/tests/test-phabricator.t	Sun Feb 16 16:13:36 2020 -0500
@@ -323,4 +323,27 @@
   $TESTTMP/repo/.hg/hgrc:*: phabricator.callsign=local (glob)
   $ mv .hg/hgrc.bak .hg/hgrc
 
+Phabimport works with a stack
+
   $ cd ..
+  $ hg clone repo repo2 -qr 1
+  $ cp repo/.hg/hgrc repo2/.hg/
+  $ cd repo2
+  $ hg phabimport --stack 'D7918' --test-vcr "$VCR/phabimport-stack.json"
+  applying patch from D7917
+  applying patch from D7918
+  $ hg log -G -Tcompact
+  o  3[tip]   aaef04066140   1970-01-01 00:00 +0000   test
+  |    create draft change for phabricator testing
+  |
+  o  2   8de3712202d1   1970-01-01 00:00 +0000   test
+  |    create public change for phabricator testing
+  |
+  @  1   a692622e6937   1970-01-01 00:00 +0000   test
+  |    create beta for phabricator test
+  |
+  o  0   c44b38f24a45   1970-01-01 00:00 +0000   test
+       create alpha for phabricator test \x80 (esc)
+  
+
+  $ cd ..