Philip Martin wrote:
>
> I've got a regression test failure, but it appears to be nothing to do
> with my change. It's in a test you added in r7351:
>
> $ ~/sw/subversion/svn/subversion/tests/clients/cmdline/copy_tests.py 20
> /home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/copy_tests.py:1191: SyntaxWarning: local name 'wc_dir' in 'revision_kinds_local_source' shadows use of 'wc_dir' as global in nested scope 'cp_test'
> def revision_kinds_local_source(sbox):
...
> File "/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/copy_tests.py", line 1220, in cp_test
> dst_path = os.path.join(wc_dir, dst)
> NameError: global name 'wc_dir' is not defined
> FAIL: copy_tests.py 20: revision-kind keywords with non-URL source
Sorry about that. I've changed it to not use a nested scope. (A quick fix would have been to put "from __future__ import nested_scopes" at the beginning of the file.)
Fixed in r7391, I hope.
- Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 12 23:53:30 2003