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

Re: 1.2.6 RC2 is available

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-10-31 08:10:18 CET

Rainer Müller wrote:
> Stefan Küng wrote:
>> Rainer Müller wrote:
> [...]
>>> It can't be added because
>>> a) it is already under version control
>>> b) it does not exist
>> a) is not the real reason. You *can* add a deleted file, but only if b)
>> is not true. For example, if you delete a file in Subversion, then
>> create a new file with the same path, you can add that file, replacing
>> the old one by doing so.
>
> Thanks for the explanation. I thought I had to use revert to "undo" a svn remove.

You *should* use revert to undo removes. If you "replace" the file (as I
explained how above), then it's not the same as an undo of the remove.
You *replace* the old file with the new one, loosing the history.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Oct 31 08:10:42 2005

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

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