##// END OF EJS Templates
subrepo: change default path in hgrc of subrepo after cloning...
subrepo: change default path in hgrc of subrepo after cloning Previous behavior was to put in the cloned subrepos the path found in the original main repo. However it isn't valid for relative path and it seems more logical to reference instead the subrepos working copy path of the original main repo.

File last commit:

r1960:dac4bd67 default
r10378:e1401c74 default
Show More
test-unrelated-pull
20 lines | 217 B | text/plain | TextLexer
/ tests / test-unrelated-pull
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 #!/bin/sh
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579 mkdir a
cd a
hg init
echo 123 > a
hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "a" -u a -d "1000000 0"
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579
cd ..
mkdir b
cd b
Thomas Arendsen Hein
Cleanup of tabs and trailing spaces.
r1308 hg init
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579 echo 321 > b
hg add b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "b" -u b -d "1000000 0"
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579
hg pull ../a
Vadim Gelfer
update test for unrelated repo.
r1960 hg pull -f ../a
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579 hg heads