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

RE: Copying 'added' files to url

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-02-28 20:31:39 CET

> From: Ben Collins-Sussman [mailto:sussman@collab.net]
> The moral of the story is: "don't run 'svn cp wc URL' when
> the wc has
> local changes, unless you understand what you're doing". I don't see
> any reason to protect people here: there's no risk of data
> loss, just
> a possible obstructed update that can be easily cleared away.

I think it would be better to look at it this way: Doing "svn cp ./xxx URL"
is just like doing a checkin from another, identical WC. So the resulting
obstructed file situation is the same as if an add was checked in from
another WC. Users need to be aware that such actions don't work well.
Conversely, Subversion needs some improvement in its "update" algorithm so
that these situations result in a merge or conflict condition rather than an
error. (But we've discussed this before.)


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 28 20:37:06 2005

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.