##// 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:

r2982:890e285c default
r10378:e1401c74 default
Show More
test-revert-unknown
20 lines | 274 B | text/plain | TextLexer
/ tests / test-revert-unknown
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236 #!/bin/sh
hg init
touch unknown
touch a
hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "1" -d "1000000 0"
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236
touch b
hg add b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "2" -d "1000000 0"
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236
echo %% Should show unknown
hg status
Vadim Gelfer
revert: require --all to revert all files.
r2982 hg revert -r 0 --all
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236 echo %% Should show unknown and b removed
hg status
echo %% Should show a and unknown
ls