|
ds@2014
|
1 |
We now use svn:keywords "Id" on all .c/.cpp/.h/.inc/.sp/ files.
|
|
ds@2014
|
2 |
Please make sure your client is configured properly.
|
|
ds@1952
|
3 |
|
|
ds@1952
|
4 |
WINDOWS:
|
|
ds@2014
|
5 |
- Open your Application Data directory.
|
|
ds@2014
|
6 |
Windows XP/2000: C:\Documents and Settings\<user>\Application Data
|
|
ds@2014
|
7 |
Windows Vista: C:\Users\<user>\AppData\Roaming
|
|
ds@1952
|
8 |
|
|
ds@2014
|
9 |
- Now go to the Subversion directory.
|
|
ds@2014
|
10 |
- Open the "config" file with a text editor.
|
|
ds@1952
|
11 |
|
|
ds@1952
|
12 |
LINUX:
|
|
ds@2014
|
13 |
- Open ~/.subversion/config with your favorite text editor.
|
|
ds@1952
|
14 |
|
|
ds@1952
|
15 |
Under [miscellany], uncomment this line:
|
|
ds@1952
|
16 |
# enable-auto-props = yes
|
|
ds@1952
|
17 |
|
|
ds@1952
|
18 |
Under [auto-props], add these lines:
|
|
ds@1952
|
19 |
*.c = svn:keywords=Id
|
|
ds@1952
|
20 |
*.cpp = svn:keywords=Id
|
|
ds@1952
|
21 |
*.h = svn:keywords=Id
|
|
ds@2014
|
22 |
*.inc = svn:keywords=Id
|
|
ds@1952
|
23 |
*.sp = svn:keywords=Id
|
|
ds@2014
|
24 |
|
|
ds@2014
|
25 |
|
|
ds@2014
|
26 |
If you find a file with one of the above extensions that does not have the svn:keywords property...
|
|
ds@2014
|
27 |
|
|
ds@2014
|
28 |
TORTOISE SVN:
|
|
ds@2014
|
29 |
- Right click on the file(s) that do not have the property.
|
|
ds@2014
|
30 |
- In the context menu that appears, select TortoiseSVN -> Properties.
|
|
ds@2014
|
31 |
- A properties window should appear. Click the Add button.
|
|
ds@2014
|
32 |
- Select "svn:keywords" from the "Property name" combo box and type "Id" in the "Property value" text area.
|
|
ds@2014
|
33 |
- Click OK on both windows and commit the change(s).
|
|
ds@2014
|
34 |
|
|
ds@2014
|
35 |
CLI SVN CLIENT:
|
|
ds@2014
|
36 |
- Execute the following command: svn propset svn:keywords Id <files>
|