Replacing a versioned file with new version?

2,166 views
Skip to first unread message

Mario Techera

unread,
Mar 3, 2011, 2:29:17 AM3/3/11
to us...@tortoisesvn.tigris.org
Hello,

I would like to replace a versioned file with a new version from a non-versioned folder. The result
should be as if I've simply modified the original file so that the versioning on the original file is maintained.

How can I do this?

(hopefully I've explained myself correctly!)

Best regards from Bavaria,
Mario

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2709184

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Jean-Marc van Leerdam

unread,
Mar 3, 2011, 2:41:04 AM3/3/11
to us...@tortoisesvn.tigris.org
Hi,

On 3 March 2011 08:29, Mario Techera <mtec...@yahoo.com> wrote:
> Hello,
>
> I would like to replace a versioned file with a new version from a non-versioned folder. The result
> should be as if I've simply modified the original file so that the versioning on the original file is maintained.
>
> How can I do this?

Simply copy the new version into the working copy (overwriting the
current version) and then commit your change.

--
Regards,

Jean-Marc
--
.       ___
.  @@  // \\      "De Chelonian Mobile"
. (_,\/ \_/ \     TortoiseSVN
.   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
.   /_/   \_\     http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2709189

Lars Tiefland

unread,
Mar 3, 2011, 2:37:18 AM3/3/11
to us...@tortoisesvn.tigris.org, Mario Techera
Hi,

just copy your new file over the old one and commit.

Live Long And Prosper,

Lars Tiefland


2011/3/3 Mario Techera <mtec...@yahoo.com>

Judson Wilson

unread,
Mar 3, 2011, 2:51:04 AM3/3/11
to us...@tortoisesvn.tigris.org
On 3/2/2011 11:29 PM, Mario Techera wrote:
> I would like to replace a versioned file with a new version from a non-versioned folder. The result
> should be as if I've simply modified the original file so that the versioning on the original file is maintained.
>
> How can I do this?
Open the replacement, select all, copy. Open the versioned file, select
all, paste. Commit. ?

If you want the versioned file to move/rename during the process, you
may need to add a move/rename step in there. I would suggest doing that
in 2 commits, one for the rename, one for the new content, just to make
following it a little bit easier.

Hope that is what you are asking,
- Judson

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2709192

Mario Techera

unread,
Mar 3, 2011, 9:55:38 AM3/3/11
to us...@tortoisesvn.tigris.org
That worked great! Thanks for the replies. I also took note of the re-name step.

Best regards,
Mario

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2709302

Bob Archer

unread,
Mar 3, 2011, 10:37:22 AM3/3/11
to us...@tortoisesvn.tigris.org
> On 3/2/2011 11:29 PM, Mario Techera wrote:
> > I would like to replace a versioned file with a new version from
> a non-versioned folder. The result
> > should be as if I've simply modified the original file so that
> the versioning on the original file is maintained.
> >
> > How can I do this?
> Open the replacement, select all, copy. Open the versioned file,
> select
> all, paste. Commit. ?

Not really needed. Just copy the file in would be adequate.

BOb

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2709324

Reply all
Reply to author
Forward
0 new messages