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