mantisbt:svn_config
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mantisbt:svn_config [2008/06/16 16:17] – blueray | mantisbt:svn_config [2014/02/27 03:06] (current) – Bascy | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
====== Subversion configuration for Mantis Developers ====== | ====== Subversion configuration for Mantis Developers ====== | ||
Line 6: | Line 7: | ||
On Windows the configuration is stored in the registry under the key KEY_CURRENT_USER\Software\Tigris.org\Subversion\Config. You should download the following file and launch it by double clicking to import the settings in the registry: | On Windows the configuration is stored in the registry under the key KEY_CURRENT_USER\Software\Tigris.org\Subversion\Config. You should download the following file and launch it by double clicking to import the settings in the registry: | ||
- | |||
- | |||
- | |||
==== Windows Registry Script ==== | ==== Windows Registry Script ==== | ||
Line 18: | Line 16: | ||
[HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config\auto-props] | [HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config\auto-props] | ||
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
+ | " | ||
+ | " | ||
+ | " | ||
" | " | ||
" | " | ||
Line 38: | Line 39: | ||
On Unix the configuration is located in the file " | On Unix the configuration is located in the file " | ||
- | |||
==== Unix configuration file ==== | ==== Unix configuration file ==== | ||
Line 45: | Line 45: | ||
< | < | ||
- | ### Set enable-auto-props to ' | + | [miscellany] |
- | ### for 'svn add' and 'svn import', | + | |
- | ### Automatic properties are defined in the section ' | + | |
enable-auto-props = yes | enable-auto-props = yes | ||
- | |||
- | ### Section for configuring automatic properties. | ||
- | ### The format of the entries is: | ||
- | ### | ||
- | ### The file-name-pattern can contain wildcards (such as ' | ||
- | ### '?' | ||
- | ### Note that auto-props functionality must be enabled, which | ||
- | ### is typically done by setting the ' | ||
[auto-props] | [auto-props] | ||
- | *.php = svn: | + | *.php = svn: |
- | *.txt = svn: | + | *.txt = svn: |
- | *.css = svn: | + | *.css = svn: |
- | *.js = svn: | + | *.sgml=svn: |
- | *.sample = svn: | + | *.dsl=svn: |
- | *.html = svn: | + | *.ent=svn: |
- | *.htm = svn: | + | *.js = svn: |
- | *.htaccess = svn: | + | *.sample = svn: |
+ | *.html = svn: | ||
+ | *.htm = svn: | ||
+ | *.htaccess = svn: | ||
*.png = svn: | *.png = svn: | ||
*.jpg = svn: | *.jpg = svn: | ||
Line 86: | Line 78: | ||
< | < | ||
find . -name \*.php -exec svn propset svn: | find . -name \*.php -exec svn propset svn: | ||
- | find . -name \*.php -exec svn propset svn: | + | find . -name \*.php -exec svn propset svn: |
find . -name \*.txt -exec svn propset svn: | find . -name \*.txt -exec svn propset svn: | ||
- | find . -name \*.txt -exec svn propset svn: | + | find . -name \*.txt -exec svn propset svn: |
+ | find . -name \*.sgml -exec svn propset svn: | ||
+ | find . -name \*.sgml -exec svn propset svn: | ||
+ | find . -name \*.sgml -exec svn propset svn: | ||
+ | find . -name \*.dsl -exec svn propset svn: | ||
+ | find . -name \*.dsl -exec svn propset svn: | ||
+ | find . -name \*.ent -exec svn propset svn: | ||
+ | find . -name \*.ent -exec svn propset svn: | ||
find . -name \*.css -exec svn propset svn: | find . -name \*.css -exec svn propset svn: | ||
find . -name \*.js -exec svn propset svn: | find . -name \*.js -exec svn propset svn: | ||
- | find . -name \*.sample -exec svn propset svn: | + | find . -name \*.sample -exec svn propset svn: |
find . -name \*.htm -exec svn propset svn: | find . -name \*.htm -exec svn propset svn: | ||
find . -name \*.html -exec svn propset svn: | find . -name \*.html -exec svn propset svn: | ||
Line 101: | Line 100: | ||
Any change that should be applied is reported by an email, so it can be fixed by committing the property change. This doesn' | Any change that should be applied is reported by an email, so it can be fixed by committing the property change. This doesn' | ||
+ |
mantisbt/svn_config.1213647446.txt.gz · Last modified: 2008/10/29 04:31 (external edit)