tests/test-nested-repo.out
author Christian Ebert <blacktrash@gmx.net>
Wed, 09 Jun 2010 12:45:48 +0100
changeset 11320 e4274f9f97c8
parent 5200 c7e8fe11f34a
permissions -rw-r--r--
keyword: pass context to kwtemplater.overwrite Now that we have retrieved the context in every calling function except commit, pass it as argument to kwtemplater.overwrite to avoid looking it up twice. Reorder arguments to kwtemplater.overwrite to reflect their importance. Turn node argument into a simple boolean and rename it to iswctx.

# 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'