##// END OF EJS Templates
Make 'hg import' platform independent....
Make 'hg import' platform independent. - moved popen("patch ...") from commands.py to util.py - files may not be single quoted in popen under windows: fixed - patch returns the files quoted under windows. quotes need to be stripped off: fixed

File last commit:

r814:0902ffec merge default
r1285:1546c2aa default
Show More
test-unrelated-pull
19 lines | 190 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
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m "a" -u a -d "0 0"
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579
cd ..
mkdir b
cd b
hg init
echo 321 > b
hg add b
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m "b" -u b -d "0 0"
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579
hg pull ../a
hg heads