tests/test-inhibit.t
branchstable
changeset 1490 bc7eec65dfcf
parent 1476 19c2405cb091
child 1491 8f469f81129c
--- a/tests/test-inhibit.t	Wed Aug 12 16:08:05 2015 -0700
+++ b/tests/test-inhibit.t	Wed Aug 12 10:51:20 2015 -0700
@@ -760,3 +760,21 @@
   added 1 changesets with 1 changes to 1 files
   pushing 33 obsolescence markers (*) (glob)
   2 obsolescence markers added
+
+Pulling from a inhibit repo to a non-inhibit repo should work
+
+  $ cd ..
+  $ hg clone -q inhibit not-inhibit
+  $ cat >> not-inhibit/.hg/hgrc <<EOF
+  > [extensions]
+  > inhibit=!
+  > directaccess=!
+  > evolve=!
+  > EOF
+  $ cd not-inhibit
+  $ hg book -d foo
+  $ hg pull
+  pulling from $TESTTMP/inhibit
+  searching for changes
+  no changes found
+  adding remote bookmark foo