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

Re: svn replaced files

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-10-20 10:44:19 CEST

Molle Bestefich wrote:
> Simon Large wrote:
>>Molle Bestefich wrote:
>>>The 'Add' menu item doesn't show up on files having the same name as a
>>>file previously deleted from the WC (deletion not committed).
>>>This makes doing svn 'replace'ments impossible in TSVN.
>>>Using r4376.
>>Can you do that in the CLI? Until the delete is committed, there is
>>still a text-base copy of the original file, and it still has a record
>>in 'entries'. How would SVN add a new file of the same name without
>>messing this up?
> Yes.
> TSVN even shows (correctly) that the file has been 'replaced' when I'm
> committing - only it cannot do file replacements itself, as things
> currently stand.
> CLI test (Unix), assuming you're in a WC and it contains a file README:
> $ svn rm README
> $ touch README
> $ svn add README
> $ svn st
> ... shows 'R' for 'R'eplaced.
> CLI test (Windows), assuming you're in a WC and it contains a file README:
>>svn rm README
>>echo. > README
>>svn add README
>>svn st
> I'm not sure whether the CLI stuff made it any clearer for you, but
> there you go :-)

I stand corrected :-)


   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 Thu Oct 20 10:44:52 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.