Jump to content

Recommended Posts

Posted

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?

Posted

In order to enable this feature, you have to apply

  svn propset -R svn:keywords "Id" <filename(s)>

to your files

Thereafter, add "$Id: $" to the header (or wherever). It will be automatically updated on each commit

Advantage: release packages will contain a reference to the svn revision you were using

Best Regards, Thorsten.

Posted

Instructions for TortoiseSVN users to do this to all your files in one go:

Right-click the folder containing your app

From 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 OK

Click OK

Add this to your files:

/* $Id:  $ */

Save, commit the files, enjoy.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...