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

r5200:c7e8fe11 default
r9386:eae98607 default
Show More
test-nested-repo.out
9 lines | 245 B | text/plain | TextLexer
/ tests / test-nested-repo.out
# should print nothing
# should fail
abort: path 'b/x' is inside repo 'b'
abort: path 'b/x' is inside repo 'b'
# should fail
abort: path 'b/x' is inside repo 'b'
# should arguably print nothing
# should fail
abort: path 'b/a' is inside repo 'b'