Subversion
From SqueezeboxWiki
Revision as of 08:51, 28 June 2010 by Soulkeeper (Talk | contribs)
This page needs editing. config file from old wiki is missing
Repository
See RepositoryStructure for more information about the repository structure, some examples:
- http://svn.slimdevices.com/repos/slim/7.2/trunk/ is the location of the 7.2 trunk, used to build toward the latest 7.2.x release (use https if a committer).
- http://svn.slimdevices.com/repos/slim/7.3/trunk/ is the location of the 7.3 trunk (use https if a committer).
- http://svn.slimdevices.com/ is the URL to use for the ViewCVS powered version.
Configuration file
The following is the suggested config file for use by committers. You can download it here. On windows it is placed at /c:\Documents and Settings\<username>\Application Data\Subversion\config/. On Unix-like systems it is placed at /~/.subversion/config
/.
### This file configures various client-side behaviors. ### ### The commented-out examples below are intended to demonstrate ### how to use this file. ### Section for authentication and authorization customizations. # [auth] ### Set store-passwords to 'no' to avoid storing passwords in the ### auth/ area of your config directory. It defaults to 'yes'. ### Note that this option only prevents saving of *new* passwords; ### it doesn't invalidate existing passwords. (To do that, remove ### the cache files by hand as described in the Subversion book.) # store-passwords = no ### Set store-auth-creds to 'no' to avoid storing any subversion ### credentials in the auth/ area of your config directory. ### It defaults to 'yes'. Note that this option only prevents ### saving of *new* credentials; it doesn't invalidate existing ### caches. (To do that, remove the cache files by hand.) # store-auth-creds = no ### Section for configuring external helper applications. ### Set editor to the command used to invoke your text editor. ### This will override the environment variables that Subversion ### examines by default to find this information ($EDITOR, ### et al). ### Set diff-cmd to the absolute path of your 'diff' program. ### This will override the compile-time default, which is to use ### Subversion's internal diff implementation. ### Set diff3-cmd to the absolute path of your 'diff3' program. ### This will override the compile-time default, which is to use ### Subversion's internal diff3 implementation. ### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3' ### program accepts the '--diff-program' option. #[helpers] # editor-cmd = editor (vi, emacs, notepad, etc.) #diff-cmd = /usr/bin/diff # diff3-cmd = diff3_program (diff3, gdiff3, etc.) # diff3-has-program-arg = [true | false] ### Section for configuring tunnel agents. # [tunnels] ### Configure svn protocol tunnel schemes here. By default, only ### the 'ssh' scheme is defined. You can define other schemes to ### be used with 'svn+scheme://hostname/path' URLs. A scheme ### definition is simply a command, optionally prefixed by an ### environment variable name which can override the command if it ### is defined. The command (or environment variable) may contain ### arguments, using standard shell quoting for arguments with ### spaces. The command will be invoked as: ### <command> <hostname> svnserve -t ### (If the URL includes a username, then the hostname will be ### passed to the tunnel agent as <user>@<hostname>.) If the ### built-in ssh scheme were not predefined, it could be defined ### as: # ssh = $SVN_SSH ssh ### If you wanted to define a new 'rsh' scheme, to be used with ### 'svn+rsh:' URLs, you could do so as follows: # rsh = rsh ### Or, if you wanted to specify a full path and arguments: # rsh = /path/to/rsh -l myusername ### On Windows, if you are specifying a full path to a command, ### use a forward slash (/) or a paired backslash (\\) as the ### path separator. A single backslash will be treated as an ### escape for the following character. ### Section for configuring miscelleneous Subversion options. [miscellany] ### Set global-ignores to a set of whitespace-delimited globs ### which Subversion will ignore in its 'status' output. global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store ### Set log-encoding to the default encoding for log messages # log-encoding = latin1 ### Set use-commit-times to make checkout/update/switch/revert ### put last-committed timestamps on every file touched. # use-commit-times = yes ### Set enable-auto-props to 'yes' to enable automatic properties ### for 'svn add' and 'svn import', it defaults to 'no'. ### Automatic properties are defined in the section 'auto-props'. enable-auto-props = yes ### Section for configuring automatic properties. ### The format of the entries is: ### file-name-pattern = propname[=value][;propname[=value]...] ### The file-name-pattern can contain wildcards (such as '*' and ### '?'). All entries which match will be applied to the file. ### Note that auto-props functionality must be enabled, which ### is typically done by setting the 'enable-auto-props' option. [auto-props] *.pm = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.java = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.js = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.sql = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.c = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.cpp = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.h = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.txt = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.conf = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.properties = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.xml = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.classpath = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.project = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.xsl = svn:mime-type=text/xsl;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.html = svn:mime-type=text/html;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.htm = svn:mime-type=text/html;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.css = svn:mime-type=text/css;svn:eol-style=native;svn:keywords=Id Author LastChangedDate LastChangedBy *.dsp = svn:eol-style=CRLF *.bat = svn:eol-style=CRLF *.dsw = svn:eol-style=CRLF *.pl = svn:eol-style=native;svn:executable;svn:keywords=Id Author LastChangedDate LastChangedBy *.sh = svn:eol-style=native;svn:executable;svn:keywords=Id Author LastChangedDate LastChangedBy *.png = svn:mime-type=image/png *.jpg = svn:mime-type=image/jpeg *.gif = svn:mime-type=image/gif *.tif = svn:mime-type=image/tiff *.bmp = svn:mime-type=image/bmp *.zip = svn:mime-type=application/zip *.jar = svn:mime-type=application/octet-stream *.ttf = svn:mime-type=application/octet-stream *.bin = svn:mime-type=application/octet-stream *.exe = svn:mime-type=application/octet-stream *.dll = svn:mime-type=application/octet-stream *.lib = svn:mime-type=application/octet-stream *.exp = svn:mime-type=application/octet-stream *.bundle = svn:mime-type=application/octet-stream;svn:executable *.so = svn:mime-type=application/octet-stream;svn:executable