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

Re: replace renamed file in one transaction?

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-12-14 01:25:17 CET

Sven Brueggemann wrote:
> Hello,
>
> I need to rename a file ("file" -> "file_old") and create
> a new file with the same name ("file").
>
> "file" calls "file_old" and many other modules call "file".
> Since I'd like every revision to be compilable, I will have
> to commit that in a single transaction.
>
> I that possible? If so, how?

In the 1.3.0 nightly you can:
1. SVN rename file to file_old
2. Create your new file
3. SVN Add (as replacement) file
4. Commit

The Add-as-replacement is fairly new, not in 1.2.6 AFAIR.

Simon

-- 
        ___
   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 Wed Dec 14 00:35:25 2005

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

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