Re: export every version of every file
From: si <sshnug.si_at_gmail.com>
Date: 2006-05-25 03:33:17 CEST
> I want to do this automatically for approximately 300 MS-Word documents.
You could use a batch file, windows script or NAnt or Ant.
As I prefer NAnt over batch files or windows scripts that's what
Anyway, as a quick'n'dirty guess, the recipe might look like:
1. Call 'svnlook history /repos' using <exec> task, capturing stdout to file
2. Use <foreach> task to loop over each revision (ignore non-numeric output
3. Inside the <foreach> task call 'svnlook changed using repos/changed-path -rX'
4. Create another <foreach> task inside the existing <foreach>, iterating
5. If the changed item is what you want (e.g. a word doc), call <exec> once
As you want multiple repositories i'd make the repository (and path) a NAnt
Hope that helps.
peace
---------------------------------------------------------------------
|
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.