1
#! /usr/bin/env python2.4
3
# Copyright (C) 2005 Canonical Ltd
5
"""Print to stdout a description of the current directory,
6
formatted as a Python data structure.
8
This can be useful in tests that need to recreate directory
11
# TODO: It'd be nice if this split long strings across
12
# multiple lines, relying on Python concatenation of consecutive
19
from bzrlib.trace import enable_default_logging
20
enable_default_logging()
21
from bzrlib.selftest.treeshape import capture_tree_contents
25
for tt in capture_tree_contents('.'):
29
if __name__ == '__main__':
30
sys.exit(main(sys.argv))