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

Re: Copy/Export unversioned files from a working copy

From: Mark Irving <Mark.Irving_at_informatix.co.uk>
Date: Fri, 01 Aug 2008 10:44:17 +0100

On Thursday 31 July 2008, John Steiger wrote:

> I know it's possible to move/copy/export versioned files (with or without the
> unversioned files) out of a working copy. However, I would like to know if it's
> possible to copy only the unversioned files out of a working copy.

You could probably set something up with the svn command-line
tools and a batch file or python script, but I suspect it isn't
what you would need.

> Mainly, I would like to backup my unversioned files without copying/exporting
> the entire working copy, as the repository is already backed-up and my working
> copy is rather large.

My working copy is rather large, too. I've just asked Windows
how large, and it says

Freshly checked out: 446 MB, 24 000 files, 4000 folders
After a Visual Studio build: 3.5 GB, 29 000 files, 4000 folders

...but all of that (the difference being derived, unversioned
files) is not needed in my personal backup. What I need to back
up is what I have worked on, just enough that if this computer
stops working I can get back to work soon after it's replaced or
repaired. What I do is create a patch of my whole working copy.
This can be done with TortoiseSVN but it's easier to run on a
schedule using the command-line svn client:

svn diff Working\copy > \\server\muggins\workingcopy.patch

I *do* need to remember to "svn add" any new files and folders
to make sure they are included in the patch file. The best way
to apply the patch, if ever it is needed, is of course

My patch file for work in progress is about 150 KB today. I
don't usually have so much work pending: 0-20 KB is typical.

  - Mark

To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-08-01 11:44:32 CEST

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.