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

Re: Switch bug

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-11-14 23:26:14 CET

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> Philip Martin <philip@codematters.co.uk> writes:
> > > Did it delete `wc', or did it rename it to `b1'?
> >
> > No, it's really gone.
>
> Wow. That's so... losing.
>
> I've filed new issue #988.

Thanks, I'm having some local HTTP problems.

It's the same bug as the one Kent reported, but it just happens that I
used "/branch/b1" and "/trunk/foo" which happen to be the same length
(I saw the truncation and was curious :) and this happens

edit_path (c=0xbffff5c0, path=0x80b8580 "/trunk/foo")
    at ../svn/subversion/libsvn_repos/delta.c:159
159 const char *editor_path = path + strlen (c->edit_base_path);
(gdb) p path
$2 = 0x80b8580 "/trunk/foo"
(gdb) p c->edit_base_path
$3 = 0x80812f0 "/branch/b1"
(gdb) n
160 if (*editor_path == '/')
(gdb) p editor_path
$4 = 0x80b858a ""

Something has obviously gone wrong, it makes no sense to mix those
paths.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 14 23:26:56 2002

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.