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

failed svn switch destroies repository paths

From: Oliver Preusche <Oliver.Preusche_at_infoteam.de>
Date: 2004-08-13 10:08:45 CEST

Hi,

This seems to be a hint on what is going on in report Issue # 1900
        http://subversion.tigris.org/issues/show_bug.cgi?id=1900

Summary:

        In this situation, "svn switch" leaves behind wrong repository paths

        after reporting the error, which makes the working copy un-usable.

        What I means is that "svn info" reports the wrong URL afterwards.
        The URL is wrong in that the topmost directory below trunk or the
branch is missing.

Detailed example:

1. Read
                trunk/A/B/C/D/file3
        onto file
                /sources/A/B/C/D/file3
2. Modify
                trunk/A/B/C/D/file3
        locally.
3. Deleted that file in a branch, say
                branches/branch/A/B/C/D/file3
4. Now you switch in current directory
                /sources/A
        to
                /branches/branch
5. Result: Won´t delete locally modified file..... (as in #1900)
6. Say
                svn info /sources/A/B/C/D
        Result:
                URL: ..... /branches/branch/B/C/D
        ### Notice that top-level path 'A' is missing ###
        This may be the reason why a following update (see #1900) fails.

Regards
        --Oliver

-----------------------------------------------------
Dipl. Inf. Oliver Preusche
infoteam Software GmbH / Am Bauhof 9 / D-91088 Bubenreuth
Tel +49-9131-7800-23 / Fax -50 / mailto:preusche@infoteam.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 13 16:24:30 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.