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

Saving Version information with files

From: Manish Bansal <manish.p.bansal_at_jpmorgan.com>
Date: Thu, 8 Dec 2011 09:06:33 -0800 (PST)

Hello everyone,
I am new to the forum looking for some help, I have already searched forum and google but could not able find solution to my requirement.

I am wondering is it possible with TortoiseSVN tool with some settings to generate any xml, csv or some text file with is containing file names and current version against each file.

I want that version info file to auto update everytime i do checking my files in the SVN and itself check in back to the SVN in the same folder.

e.g. my repository (dir mycodefiles) is containing 3 file
.\
.\File1.txt
.\File2.txt
.\File3.txt

===========================
Now i want another file to get auto generate something like versioninfo.xml or versioninfo.csv (or some custom name) in the same dir

.\
.\File1.txt
.\File2.txt
.\File3.txt
.\versioninfo.xml

================================

This versioninfo file should have file names and version info next to it

<versioninfo>
   <File version="5">File1.txt</File>
   <File version="18">File2.txt</File>
   <File version="15">File3.txt</File>
</versioninfo>

The above structure can also have self information

<versioninfo>
   <File version="5">File1.txt</File>
   <File version="18">File2.txt</File>
   <File version="15">File3.txt</File>
   <File version="22">versioninfo.xml</File>
</versioninfo>

or even more advance for structure like this

.\
.\File1.txt
.\File2.txt
.\File3.txt
.\Dir1
.\Dir1\AnotherFile1.txt
.\Dir1\AnotherFile2.txt

<versioninfo>
   <File version="5">File1.txt</File>
   <File version="18">File2.txt</File>
   <File version="15">File3.txt</File>
   <Dir Name="Dir1">
        <File version="5">AnotherFile1.txt</File>
        <File version="18">AnotherFile2.txt</File>
   </Dir>
</versioninfo>

============================
CSV

File1.txt|25
File2.txt|12
File3.txt|18
Dir1
Dir1\AnotherFile1.txt|45
Dir1\AnotherFile2.txt|29

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-12-08 18:23:14 CET

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