##// END OF EJS Templates
Allow reverting a deleted file with two parents...
Allow reverting a deleted file with two parents As elsewhere, we choose the first parent by default

File last commit:

r1447:508a3f55 default
r1448:182879d7 default
Show More
test-revert
24 lines | 247 B | text/plain | TextLexer
#!/bin/sh
hg init
echo 123 > a
echo 123 > c
hg add a c
hg commit -m "first" -d "0 0" a c
echo 123 > b
hg status
echo 12 > c
hg status
hg add b
hg status
hg rm a
hg status
hg revert a
hg status
hg revert b
hg status
hg revert c
hg status
ls
true