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

r39592

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: Fri, 16 Oct 2009 22:02:57 -0700

Hi Bert,

Sorry I wasn't able to reply to the commit message, I couldn't find it
anywhere among my messages.

This commit causes some ruby bindings test failures. I instrumented
one of the tests with some logging
to put out the current status of the working copy by shelling out to
the command line svn. The traces are
immediately before and after the call to svn_client_resolve. At
r39591 it looks like:

test/run-test.rb test/test_client.rb -v -n"/_resolve_base/"
Loaded suite test_client.rb
Started
test_resolve_base(SvnClientTest):
C C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt
? C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt.r1
? C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt.r2
? C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt.mine

M C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt

.

Finished in 5.26 seconds.

1 tests, 6 assertions, 0 failures, 0 errors

after r39592:

test/run-test.rb test/test_client.rb -v -n"/_resolve_base/"
Loaded suite test_client.rb
Started
test_resolve_base(SvnClientTest):
C C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt
? C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt.r1
? C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt.r2
? C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt.mine

C C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt
? C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt.r1
? C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt.r2
? C:\Users\joe-swatosh\AppData\Local\Temp\wc-tmp\wc\dir\sample.txt.mine

F

Finished in 6.407 seconds.

  1) Failure:
test_resolve_base(SvnClientTest)
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:2383:in
`test_resolve_base'
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:2376:in
`assert_resolve'
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/test/util.rb:183:in
`make_context'
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:2348:in
`assert_resolve'
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:2381:in
`test_resolve_base':
Exception raised:
Class: <Svn::Error::WcFoundConflict>
Message: <"\nC:\\Users\\joe-swatosh\\Documents\\SVN\\src-trunk\\subversion\\libsvn_client\\commit_util.c:457:
Svn::Error::WcFoundConflict: Aborting comm
it: 'C:\\Users\\JOE-SW~1\\AppData\\Local\\Temp\\wc-tmp\\wc\\dir\\sample.txt'
remains in conflict">
---Backtrace---
./svn/util.rb:86:in `svn_client_commit4'
./svn/util.rb:86:in `commit4'
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/svn/client.rb:166:in
`ci'
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:2384:in
`test_resolve_base'
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:2383:in
`test_resolve_base'
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:2376:in
`assert_resolve'
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/test/util.rb:183:in
`make_context'
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:2348:in
`assert_resolve'
C:/Users/joe-swatosh/Documents/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:2381:in
`test_resolve_base'
---------------

1 tests, 3 assertions, 1 failures, 0 errors

So it appears that svn_client_resolve isn't changing anything in the
working copy anymore?

I didn't try to read too much of subversion/libsvn_wc/adm_ops.c, I was
hoping this would be fresh enough that you could figure it out.

Thanks,

--
Joe
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2408438
Received on 2009-10-17 07:03:09 CEST

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.