Section 7.1. Finding the Configuration Files


7.1. Finding the Configuration Files

Configuration options can be set either on a per-user basis or as system-wide defaults (which will be used by every user on the system who hasn't overridden them). Options are stored in configuration filesor in the case of Microsoft Windows, configuration files or registry entries.

On UNIX-based systems, such as Solaris, Linux, or Mac OS X, per-user configuration files are stored in the .subversion directory in each user's home directory. System-wide configurations, on the other hand, are stored in /etc/subversion.

If you are running a Microsoft Windows variant instead, the per-user directory will be named Subversion. As to where it will be located on the filesystem, that's not such an easy question to answer. Every version of Windows handles things a little bit differently, and thus ends up with the directory in a different place. In many cases, it is even hidden. Your best bet is probably to search for it on your particular system, although it will often be in the directory pointed to by the %APPDATA% environment variable. Similarly, the system-wide configurations are also stored in a directory named Subversion, which should be located wherever your version of Windows stores system-wide application data.

When a Subversion client is run for the first time by a user, the client will automatically create default configuration files for that user in the appropriate places (depending on the OS that you're using). It won't create system-wide configuration files though. For those, you (or your administrator) will need to create the files by hand.



    Subversion Version Control. Using The Subversion Version Control System in Development Projects
    Subversion Version Control. Using The Subversion Version Control System in Development Projects
    ISBN: 131855182
    EAN: N/A
    Year: 2005
    Pages: 132

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net