tests/test-subrepo
changeset 10413 e433002acb05
parent 10378 e1401c74572f
child 10468 2250fc372d34
equal deleted inserted replaced
10412:5326800d6937 10413:e433002acb05
   173 echo test2 > nested_relative/foo2
   173 echo test2 > nested_relative/foo2
   174 hg -R nested_relative add
   174 hg -R nested_relative add
   175 hg -R nested_relative ci -mtest2
   175 hg -R nested_relative ci -mtest2
   176 hg init main
   176 hg init main
   177 echo nested_relative = ../nested_relative > main/.hgsub
   177 echo nested_relative = ../nested_relative > main/.hgsub
   178 echo nested_absolute = $PWD/nested_absolute >> main/.hgsub
   178 echo nested_absolute = `pwd`/nested_absolute >> main/.hgsub
   179 hg -R main add
   179 hg -R main add
   180 hg -R main ci -m "add subrepos"
   180 hg -R main ci -m "add subrepos"
   181 cd ..
   181 cd ..
   182 hg clone mercurial/main mercurial2/main
   182 hg clone mercurial/main mercurial2/main
   183 cat mercurial2/main/nested_absolute/.hg/hgrc mercurial2/main/nested_relative/.hg/hgrc | sed "s:${PWD}:/tmp:"
   183 cat mercurial2/main/nested_absolute/.hg/hgrc mercurial2/main/nested_relative/.hg/hgrc | sed "s:${PWD}:/tmp:"