##// END OF EJS Templates
Move branch read/write to dirstate where it belongs
Move branch read/write to dirstate where it belongs

File last commit:

r4167:4574a8cb default
r4179:7e1c8a56 default
Show More
test-diffdir
21 lines | 283 B | text/plain | TextLexer
#!/bin/sh
hg init
hg branch dummy # needed so -r "" doesn't point to the unnamed/default branch
touch a
hg add a
hg ci -m "a" -d "1000000 0"
echo 123 > b
hg add b
hg diff --nodates
hg diff --nodates -r tip
echo foo > a
hg diff --nodates
hg diff -r ""
hg diff -r tip -r ""
true