tests/test-subrepo.t
changeset 21041 a2cc3c08c3ac
parent 21024 7731a2281cf0
child 21391 cb15835456cb
equal deleted inserted replaced
21040:bdf5ed5246d2 21041:a2cc3c08c3ac
   790   $ hg ci -mtest
   790   $ hg ci -mtest
   791   committing subrepository sub/repo (glob)
   791   committing subrepository sub/repo (glob)
   792   $ echo test >> sub/repo/foo
   792   $ echo test >> sub/repo/foo
   793   $ hg ci -mtest
   793   $ hg ci -mtest
   794   committing subrepository sub/repo (glob)
   794   committing subrepository sub/repo (glob)
       
   795   $ hg cat sub/repo/foo
       
   796   test
       
   797   test
       
   798   $ mkdir -p tmp/sub/repo
       
   799   $ hg cat -r 0 --output tmp/%p_p sub/repo/foo
       
   800   $ cat tmp/sub/repo/foo_p
       
   801   test
       
   802   $ mv sub/repo sub_
       
   803   $ hg cat sub/repo/baz
       
   804   skipping missing subrepository: sub/repo
       
   805   [1]
       
   806   $ rm -rf sub/repo
       
   807   $ mv sub_ sub/repo
   795   $ cd ..
   808   $ cd ..
   796 
   809 
   797 Create repo without default path, pull top repo, and see what happens on update
   810 Create repo without default path, pull top repo, and see what happens on update
   798 
   811 
   799   $ hg init issue1852b
   812   $ hg init issue1852b