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

Interesting bug

From: Gustavo Niemeyer <niemeyer_at_conectiva.com>
Date: 2003-04-10 22:48:45 CEST

I think you'll find this one pretty interesting:

[niemeyer_at_localhost /var/tmp]% svn co https://.../cnc//snapshot/bogus
A bogus/SPECS
A bogus/SOURCES
A bogus/SOURCES/foobar
A bogus/SOURCES/teste2
A bogus/SOURCES/teste1
Checked out revision 29724.

[niemeyer@localhost /var/tmp]% cd bogus
[niemeyer@localhost /var/tmp/bogus]% vi SOURCES/foobar
[niemeyer@localhost /var/tmp/bogus]% svn commit
niemeyer's password:
Sending SOURCES/foobar
Transmitting file data .
Committed revision 29725.

[niemeyer@localhost /var/tmp/bogus]% vi SOURCES/foobar
[niemeyer@localhost /var/tmp/bogus]% svn commit
Sending SOURCES/foobar
svn: Merge conflict during commit
svn: Commit failed (details follow):
svn: Your file 'foobar' is probably out-of-date.
svn:
The version resource does not correspond to the resource within the
transaction. Either the requested version resource is out of date
(needs to be updated), or the requested version resource is newer than
the transaction root (restart the commit).

svn: Your commit message was left in a temporary file:
svn: '/var/tmp/bogus/svn-commit.tmp'

Now guess where's the bug. :-)

*suspense*

It happens whenver you use a double slash in some url.

[niemeyer_at_localhost /var/tmp]% svn co https://.../cnc//snapshot/bogus
                                                     ^^
                                                     
(thanks to Ademar and Andreas for finding it)

-- 
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 10 22:50:26 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.