4 changed files with 91 additions and 218 deletions
@ -1,30 +1,30 @@ |
|||||||
|
|
||||||
Copyright (c) 2007, ic#code |
Copyright (c) 2007-2010, AlphaSierraPapa for the SharpDevelop Team |
||||||
|
|
||||||
All rights reserved. |
All rights reserved. |
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
||||||
modification, are permitted provided that the following conditions are met: |
modification, are permitted provided that the following conditions are met: |
||||||
|
|
||||||
1. Redistributions of source code must retain the above copyright notice, |
1. Redistributions of source code must retain the above copyright notice, |
||||||
this list of conditions and the following disclaimer. |
this list of conditions and the following disclaimer. |
||||||
|
|
||||||
2. Redistributions in binary form must reproduce the above copyright |
2. Redistributions in binary form must reproduce the above copyright |
||||||
notice, this list of conditions and the following disclaimer in the |
notice, this list of conditions and the following disclaimer in the |
||||||
documentation and/or other materials provided with the distribution. |
documentation and/or other materials provided with the distribution. |
||||||
|
|
||||||
3. Neither the name of the ic#code nor the names of its contributors may be |
3. Neither the name of AlphaSierraPapa nor the names of its contributors may |
||||||
used to endorse or promote products derived from this software without |
be used to endorse or promote products derived from this software without |
||||||
specific prior written permission. |
specific prior written permission. |
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
||||||
POSSIBILITY OF SUCH DAMAGE. |
POSSIBILITY OF SUCH DAMAGE. |
||||||
@ -1,30 +0,0 @@ |
|||||||
For whatever reason, subversion does not do keyword expansion by default. That means that |
|
||||||
even if you litter your sources with $Id: $, $Author: $, etc, they will stay as is. |
|
||||||
So, even before you begin working with a subversion repository, make the following |
|
||||||
changes to your subversion client configuration file: |
|
||||||
|
|
||||||
### Section for configuring miscelleneous Subversion options. |
|
||||||
[miscellany] |
|
||||||
enable-auto-props = yes |
|
||||||
|
|
||||||
### Section for configuring automatic properties. |
|
||||||
[auto-props] |
|
||||||
*.cs = svn:keywords=Revision |
|
||||||
|
|
||||||
|
|
||||||
However, this setting should be done on every developer's workstation (I could not |
|
||||||
find a way to enforce it at the repository level, I'd like to be corrected if I'm wrong). |
|
||||||
|
|
||||||
(above text is from http://www.datafaber.com/blog/comments.jsp?contentId=448) |
|
||||||
|
|
||||||
|
|
||||||
The setting in the config file is only valid for NEW files, to update existing files use: |
|
||||||
|
|
||||||
d:\cygwin\bin\find . -name *.cs -type f -print0 | xargs -0 svn propset svn:keywords "Revision" |
|
||||||
(find is usually windows\system32\find.exe; but we need to use the cygwin version here) |
|
||||||
|
|
||||||
Cygwin\bin\find and xargs are cygwin programs: www.cygwin.com |
|
||||||
|
|
||||||
|
|
||||||
When changing the keywords available, don't forget to use all file extensions that contain the header. |
|
||||||
Currently, these are only *.cs files. |
|
||||||
Loading…
Reference in new issue