tests/test-subrepo
changeset 10786 2f2ae64a2948
parent 10668 05856e682521
parent 10775 c52057614c72
child 11078 37d1b20168d1
equal deleted inserted replaced
10785:071da7caac22 10786:2f2ae64a2948
   195 hg init nested_relative
   195 hg init nested_relative
   196 echo test2 > nested_relative/foo2
   196 echo test2 > nested_relative/foo2
   197 hg -R nested_relative add
   197 hg -R nested_relative add
   198 hg -R nested_relative ci -mtest2
   198 hg -R nested_relative ci -mtest2
   199 hg init main
   199 hg init main
   200 echo nested_relative = ../nested_relative > main/.hgsub
   200 echo "nested_relative = ../nested_relative" > main/.hgsub
   201 echo nested_absolute = `pwd`/nested_absolute >> main/.hgsub
   201 echo "nested_absolute = `pwd`/nested_absolute" >> main/.hgsub
   202 hg -R main add
   202 hg -R main add
   203 hg -R main ci -m "add subrepos"
   203 hg -R main ci -m "add subrepos"
   204 cd ..
   204 cd ..
   205 hg clone mercurial/main mercurial2/main
   205 hg clone mercurial/main mercurial2/main
   206 cat mercurial2/main/nested_absolute/.hg/hgrc \
   206 cat mercurial2/main/nested_absolute/.hg/hgrc \