On 08.12.2011 18:06, Manish Bansal wrote:
> 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>
You can use the $Rev$ keyword in your files:
http://svnbook.red-bean.com/en/1.7/svn.advanced.props.special.keywords.html
or you can use SubWCRev (which is part of TSVN) to replace revisions in
a build script (either call the command line command or use its COM
object in scripting languages):
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-subwcrev-keywords.html
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-subwcrev.html
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2891669
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-12-08 21:19:10 CET