##// END OF EJS Templates
parents: make it match the doc when called on a file...
parents: make it match the doc when called on a file parents used to return the parent revision of the last revision updating selected file, instead of the updating revision itself.

File last commit:

r1960:dac4bd67 default
r5298:cba2a689 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