Re: CVS update: subversion/subversion/tests/clients/cmdline svn_tree.py svn_wc.py README example_tests1.py svn_output.py svn_test_main.py xml_tests.py
From: Sam TH <sam_at_uchicago.edu>
Date: 2001-04-26 08:54:22 CEST
On Wed, Apr 25, 2001 at 09:23:15PM -0000, sussman@tigris.org wrote:
Looks very cool. Thanks for finally committing. I'll have some more
> +# Tree nodes will contain no contents, and only one 'status' prop.
How are you planning on handling verification for updates? Since it's
1. We build a tree from the wc.
Now, the changes tree could be handled in multiple ways. It could
How does this sound?
> +# Tree nodes will contain no contents, and only one 'verb' prop.
At various places, you're constructing trees with entirely different
> + if svn_tree.compare_trees(exp_tree, result_tree):
Since you changed the return values, these are of course broken. Not
> ###########################################################################
I don't think this should be an exported routine. It would be nice to
> def dump_tree(n,indent=""):
I think this should at least print some property info, if nothing
> # helper for wc_to_tree() -- callback for os.walk()
Why did you decide to use os.path.walk() instead of the tree walker I
>
I think this ought to be called build_tree_from_wc, for consistency.
> svn_tree.dump_tree(wc_to_tree('wc-t1'))
It's a good idea to hide this behind
if __name__ == '__main__':
so that it doesn't get executed on import.
That's all for now.
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.