##// END OF EJS Templates
util: canonpath: simplify logic...
util: canonpath: simplify logic if root == os.sep, then endswithsep(root) is True as well: one test is enough

File last commit:

r4180:f80cf8b7 default
r9386:eae98607 default
Show More
test-diffdir
20 lines | 205 B | text/plain | TextLexer
#!/bin/sh
hg init
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