[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Catching dangling transactions

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-10-12 15:49:42 CEST

Julian Foad <julianfoad@btopenworld.com> writes:

> it must be time to commit it

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):
/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/copy_tests.py:1191: SyntaxWarning: local name 'mu_path' in 'revision_kinds_local_source' shadows use of 'mu_path' as global in nested scope 'cp_test'
  def revision_kinds_local_source(sbox):
/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/copy_tests.py:1191: SyntaxWarning: local name 'expected_disk' in 'revision_kinds_local_source' shadows use of 'expected_disk' as global in nested scope 'cp_test'
  def revision_kinds_local_source(sbox):
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
  File "/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/svntest/testcase.py", line 101, in run
    rc = apply(self.pred.func, args)
  File "/home/pm/sw/subversion/svn/subversion/tests/clients/cmdline/copy_tests.py", line 1239, in revision_kinds_local_source
    cp_test('a0', 2, rWC)
  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

I'm using Python 2.1.3 on Linux. Ah-ha, I see it is happening on
svn-breakage@subversion as well, so I think I can say it's not my
problem :)

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 12 15:50:29 2003

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.