##// END OF EJS Templates
test-subrepo-svn: avoid pushd/popd
Patrick Mezard -
r10196:20d84925 default
parent child Browse files
Show More
@@ -21,8 +21,6 b" svn ci -m 'Add alpha'"
21 cd ..
21 cd ..
22
22
23 echo % create hg repo
23 echo % create hg repo
24
25 rm -rf sub
26 mkdir sub
24 mkdir sub
27 cd sub
25 cd sub
28 hg init t
26 hg init t
@@ -54,11 +52,11 b' hg st'
54
52
55 echo
53 echo
56 echo % add a commit from svn
54 echo % add a commit from svn
57 pushd "$WCROOT" > /dev/null
55 cd "$WCROOT"
58 svn up
56 svn up
59 echo xyz >> alpha
57 echo xyz >> alpha
60 svn ci -m 'amend a from svn'
58 svn ci -m 'amend a from svn'
61 popd > /dev/null
59 cd ../sub/t
62 echo % this commit from hg will fail
60 echo % this commit from hg will fail
63 echo zzz >> s/alpha
61 echo zzz >> s/alpha
64 hg ci -m 'amend alpha from hg'
62 hg ci -m 'amend alpha from hg'
General Comments 0
You need to be logged in to leave comments. Login now