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

Re: Feature Request: Update option to Remove local copy if deleted fr om repository.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-04-15 14:55:22 CEST

Greene, Justin W. wrote:
> I’d really like an option: when updating, remove the local copy if
> deleted from repository. Not having this causes issues for us. Here’s
> the scenario:
> 1. Someone adds a file.
> 2. The team eventually updates and gets a local copy of the file.
> 3. Someone removes the file.
> 4. < Unknown whether people update in this step >
> 5. Someone re-adds the same file.
> 6. When the rest of the team updates, SVN reports an error that the
> file already exists. What happened is that file was removed from
> the repository but all the local copies remained. Then when it got
> added back in it created an error.

Subversion only throws that error if a file really exists (unversioned)
which it should add itself. And that's good that way! Otherwise it would
overwrite your existing file, and you would loose the data in that file.
The Subversion policy is to *never* destroy or loose any data at all.

If however there's a versioned file in the way, you should report this
on the Subversion mailing list. In that case it shouldn't throw an error
but detect that the file got "replaced" in the repository with another one.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat Apr 15 14:55:50 2006

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