##// END OF EJS Templates
add prechangegroup and pretxnchangegroup hooks....
add prechangegroup and pretxnchangegroup hooks. prechangegroup lets you stop push, pull or unbundle before it begins. pretxnchangegroup lets you inspect changegroup before transaction is committed, and roll back if you not like it.

File last commit:

r1308:2073e5a7 default
r1730:0f1d2c75 default
Show More
test-unrelated-pull
19 lines | 189 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
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
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