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

Re: export every version of every file

From: Alf Lacis <Alf.Lacis_at_aiscientific.com>
Date: 2006-05-25 01:23:13 CEST

>>For legal purposes, I've been asked to try to automate the extraction of
>>every version of every file from several repositories.
>
>sound like a job for the command line subversion client.
>Something like
> svn export -r revision-to-export url-to-repo-root path-to-folder
>wrapped into a for loop should do what you want.
>

Yes, I know how to do an export. <<< PLEASE RE-READ MY ORIGINAL QUESTION.
 THIS IS NOT THE PROBLEM!!!

I want to do this automatically for approximately 300 MS-Word documents.
Some have been checked in 50 times.

What I want, is to do this AUTOMATICALLY <<<< repeat, ***AUTOMATICALLY***.

How do I do this? (wrap this in a for loop? under MS-Windows?) Get all the
documents out, using svn export, with the thousands of different revision
numbers, and create files which contains part of the revision number, like
this?

Legal_argument.doc.rev37.doc
Legal_argument.doc.rev567.doc
Legal_argument.doc.rev1234.doc
Regulations.doc.rev961.doc
Regulations.doc.rev1234.doc
Regulations.doc.rev5678.doc

All this information is in the repository: how do I get it out?

What I do NOT want to do, is to spend two days typing (and being
error-prone) to do it.

-- 
Regards, 
Alf Lacis 
Senior Software & Design Engineer 
A.i. Scientific Pty Ltd 
10-22 Hornibrook Esplanade 
CLONTARF QLD 4019 
AUSTRALIA 
Ph: (+617 or 07) 3105 5087  
www.aiscientific.com 
Lorenz <lorenznl@yahoo.com>
Sent by: news <news@sea.gmane.org>
24/05/2006 04:04 PM
 
        To:     users@subversion.tigris.org
        cc: 
        Subject:        Re: export every version of every file
Hi Alf,
>For legal purposes, I've been asked to try to automate the extraction of 
>every version of every file from several repositories.
sound like a job for the command line subversion client.
Something like
   svn export -r revision-to-export url-to-repo-root path-to-folder
wrapped into a for loop should do what you want.
Lorenz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 25 01:24:18 2006

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

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