Difference between revisions of "Subversion Settings"
(New URL for subversion) |
Peter gummer (Talk | contribs) (→Configuration's examples) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 41: | Line 41: | ||
=== Configuration's examples === | === Configuration's examples === | ||
− | * Here are concrete examples | + | * Here are concrete examples. We would advise you to use the INI based files; this way you can copy them easily and even use them on Linux and so on. (And also because registry keys are not that easy to edit, and you may have to reboot, or restart a few application to take them into account.) |
* Using registry keys | * Using registry keys | ||
REGEDIT4 | REGEDIT4 | ||
− | |||
[HKEY_CURRENT_USER\Software\Tigris.org\Subversion] | [HKEY_CURRENT_USER\Software\Tigris.org\Subversion] | ||
− | |||
[HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config] | [HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config] | ||
− | |||
[HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config\miscellany] | [HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config\miscellany] | ||
"global-ignores"="*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* *.swp .*.swp ~* EIFGENs .git " | "global-ignores"="*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* *.swp .*.swp ~* EIFGENs .git " | ||
Line 56: | Line 53: | ||
"use-commit-times"="yes" | "use-commit-times"="yes" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* Using INI based files: | * Using INI based files: | ||
Line 85: | Line 59: | ||
enable-auto-props = yes | enable-auto-props = yes | ||
use-commit-times = yes | use-commit-times = yes | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Read More== | ==Read More== | ||
Read the [[Subversion_Tutorial|tutorial on subversion]] for more details about subversion. | Read the [[Subversion_Tutorial|tutorial on subversion]] for more details about subversion. |
Latest revision as of 13:59, 2 May 2014
Contents
Overview
- To ensure Subversion is used as wanted, please configure your machine/account as described below to ensure that we enable keywords expansion. The SVN repository is configured to check those keywords, if there are not set, you won't be able to commit new files.
- Basically you will need to enable auto properties, and set the value for each type of file. Check at the end of this page for examples.
Install the tools
You will find everything needed on the download page of the subversion project page. Especially the subversion command line tools and, for windows users, TortoiseSVN (a graphical tool integrated with the windows Shell).
Configure your account
Configuration : file locations
Typically, Subversion uses two per-user and site-wide configurations.
site-wide configuration
Unix: /etc/subversion/config Windows: %ALLUSERSPROFILE%\Application Data\Subversion\config REGISTRY:HKLM\Software\Tigris.org\Subversion\Config
per-user configuration
Unix: ~/.subversion/config Windows: %APPDATA%\Subversion\config REGISTRY:HKCU\Software\Tigris.org\Subversion\Config
Windows
- You can configure your subversion client tools using different ways: INI files and windows registry keys
- Registry-based configuration options are parsed before their file-based counterparts, so are overridden by values found in the configuration files. In other words, configuration priority is granted in the following order on a Windows system:
- Command-line options
- The per-user INI files
- The per-user Registry values
- The system-wide INI files
- The system-wide Registry values
- Check the "%APPDATA%\subversion" folder
Linux
- Use INI based file. Check at the end of this page for examples.
Configuration's examples
- Here are concrete examples. We would advise you to use the INI based files; this way you can copy them easily and even use them on Linux and so on. (And also because registry keys are not that easy to edit, and you may have to reboot, or restart a few application to take them into account.)
- Using registry keys
REGEDIT4 [HKEY_CURRENT_USER\Software\Tigris.org\Subversion] [HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config] [HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config\miscellany] "global-ignores"="*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* *.swp .*.swp ~* EIFGENs .git " "enable-auto-props"="yes" "use-commit-times"="yes"
- Using INI based files:
[miscellany] global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* *.swp ~* enable-auto-props = yes use-commit-times = yes
Read More
Read the tutorial on subversion for more details about subversion.