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

Re: Interesting bug

From: solo turn <soloturn99_at_yahoo.com>
Date: 2003-04-11 04:42:35 CEST

i always thought urls are canonalized immeditiatly? ie:
- this case is handeled correctly
- also the url wit space user error wold go away by this.

--- Gustavo Niemeyer <niemeyer@conectiva.com> wrote:
> I think you'll find this one pretty interesting:
>
> [niemeyer@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@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
>

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 11 04:43:18 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.