This N°9 Posted January 5, 2009 Report Share Posted January 5, 2009 I noticed these "id" lines in all files (.mk, .asm, .h, .c):; $Id: mod_skel.inc 69 2008-02-01 00:20:18Z tk $what about these? can I change or remove them in my own files? Quote Link to comment Share on other sites More sharing options...
nILS Posted January 5, 2009 Report Share Posted January 5, 2009 [me=nILS Podewski]thinks they're generated by the svn system which means you can remove them.[/me] Quote Link to comment Share on other sites More sharing options...
This N°9 Posted January 5, 2009 Author Report Share Posted January 5, 2009 this makes sense... file rev date time user .. Quote Link to comment Share on other sites More sharing options...
TK. Posted January 6, 2009 Report Share Posted January 6, 2009 In order to enable this feature, you have to apply svn propset -R svn:keywords "Id" <filename(s)>to your filesThereafter, add "$Id: $" to the header (or wherever). It will be automatically updated on each commitAdvantage: release packages will contain a reference to the svn revision you were usingBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 6, 2009 Report Share Posted January 6, 2009 Instructions for TortoiseSVN users to do this to all your files in one go:Right-click the folder containing your appFrom the context menu select 'TortoiseSVN... Properties'Click the button labelled 'New...'From the dropdown box select 'svn:keywords'In the textbox labelled 'Property value:', type the word "Id", without the quotes.Tick the box labelled "Apply property recursively"Click OKClick OKAdd this to your files: /* $Id: $ */ Save, commit the files, enjoy. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.