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

Re: "swapping" files or folders by renaming gives strange errors

From: C.A.T.Magic <c.a.t.magic_at_gmx.at>
Date: 2004-02-27 19:22:55 CET

i wonder why it worked for me?
-- ok i was too inexact here,
of course i used something like

 svn rename file-A to file-Ax
 commit
 svn rename file-B to file-A
 commit
 svn rename file-Ax to file-B
 commit

and then continued to fool around with these files randomly
using update to previous revisions and merging back and forth.

but probably the reasons for any problems occouring after
that 'swapping' are based on the same "issues".

after doing 1 whole day of testing svn i have the strange feeling
that everything cvs didn't do at all doesn't work very well in svn yet ;-)
( folder renames, named tags, branches, server reboots... )

thanks anyway :-)
====
c.a.t.

----- Original Message -----
From: "Ben Collins-Sussman" <sussman@collab.net>
To: <c.a.t.magic@gmx.at>
Cc: <users@subversion.tigris.org>
Sent: Friday, February 27, 2004 18:22
Subject: Re: "swapping" files or folders by renaming gives strange errors

> On Fri, 2004-02-27 at 10:48, c.a.t.magic@gmx.at wrote:
>
> > svn rename file-A to file-Ax
> > svn rename file-B to file-A
> > svn rename file-Ax to file-B
>
> The problem here is that 'svn rename A B' isn't a true rename. It's
> exactly the same as running 'svn cp A B; svn rm A'.
>
> At the moment, you can't even do the second step, because of a bug
> (issue #845.)
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 27 19:20:21 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.