Make the cmdline tests print out the complete actual tree and meta-
commitc478616b3ebf090de49e249935f71ecb04401341
authorJulian Foad <julian.foad@wandisco.com>
Thu, 21 Aug 2008 14:22:57 +0000 (21 14:22 +0000)
committerJulian Foad <julian.foad@wandisco.com>
Thu, 21 Aug 2008 14:22:57 +0000 (21 14:22 +0000)
treeaf1839462b74b09018808a16fc8ba6b8a3f49592
parent9fdf32be6b61f2c0a6f07b5e055d7db2826ec0fe
Make the cmdline tests print out the complete actual tree and meta-
data, as python script, in case of a node mismatch in output, disk,
status or skip tree.

Patch by: Neels Janosch Hofmeyr <neels@elego.de>
(tweaked by me)

* subversion/tests/cmdline/svntest/tree.py
  (print_script): New function in SVNTreeNode class, prints out the node
    metadata as python script line.
  (dump_tree_script__crawler): New function.
  (dump_tree_script): New function, prints a whole tree as py script,
    using SVNTreeNode.print_script().

* subversion/tests/cmdline/svntest/actions.py
  (run_and_verify_checkout, run_and_verify_export, verify_update,
   run_and_verify_merge2, run_and_verify_commit, run_and_verify_status,
   run_and_verify_unquiet_status, run_and_verify_diff_summarize):
    Print the output / disk / status / skip tree as py script, if tree
    comparison throws an exception, using dump_tree_script() from tree.py.

git-svn-id: http://svn.apache.org/repos/asf/subversion/trunk/subversion/tests/cmdline@872691 13f79535-47bb-0310-9956-ffa450edef68
svntest/actions.py
svntest/tree.py