##// 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:

r6800:cc7114d9 default
r9386:eae98607 default
Show More
test-hgk
11 lines | 145 B | text/plain | TextLexer
#!/bin/sh
echo "[extensions]" >> $HGRCPATH
echo "hgk=" >> $HGRCPATH
hg init repo
cd repo
echo a > a
hg ci -Am adda
hg debug-cat-file commit 0