[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: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2005-10-20 10:35:02 CEST

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 :-)

---------------------------------------------------------------------
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:35:39 2005

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