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

Re: Export without overwriting

From: Sven Kirchner <Sven.Kirchner_at_innomea.com>
Date: 2005-12-15 08:35:24 CET

> -----Original Message-----
> From: Stefan Küng [mailto:tortoisesvn@gmail.com]
> Sent: Mittwoch, 14. Dezember 2005 17:56
> To: users@tortoisesvn.tigris.org
> Subject: [SPAM] - Re: Export without overwriting - Email contains a url
> listed on multi.surbl.org
>
> Sven Kirchner wrote:
>
> > is there an option in TSVN to export "without overwriting"? So that I
> > can export into a non-empty directory only adding files that aren't
> > already there? I could also live with a workaround. TIA
>
> Not sure what you mean here. Export never overwrites your existing files
> without asking!
>
> Stefan

Let's say I have a working copy at

C:\Project
|- File1.txt
+- File2.txt

Now I have a different subversion repository with a folder that has the structure

svn://...
|- File1.txt
+- File3.txt

When I export this folder to the C:\Project dir, File1.txt gets replaced and File3.txt gets added.

What I am trying to achieve is that only the 'missing' file File3.txt gets added, and the already existing File1.txt remains untouched. A "non-overwrite,only-add" function. TSVN for example only warns that the export target dir is non-empty, that's the only warning I get. It then goes to overwrite the files without asking. (Using TSVN 1.2.4, Build 4484)

To get this behavior with the current version I have to export and then revert the working copy.

Hope this clears things up a bit.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

--
Received on Thu Dec 15 08:43:20 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.