##// 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
#!/bin/sh
mkdir a
cd a
hg init
echo 123 > a
hg add a
hg commit -m "a" -u a -d "1000000 0"
cd ..
mkdir b
cd b
hg init
echo 321 > b
hg add b
hg commit -m "b" -u b -d "1000000 0"
hg pull ../a
hg pull -f ../a
hg heads