Edgewall Software

Changes between Version 42 and Version 43 of TracSubversion


Ignore:
Timestamp:
Apr 16, 2007, 12:59:49 AM (17 years ago)
Author:
Maz Rashid
Comment:

added example for creating repository

Legend:

Unmodified
Added
Removed
Modified
  • TracSubversion

    v42 v43  
    3939   If you're using TracModPython, be sure that Apache will also see this environment variable, or alternatively use the [TracModPython#Subversionissues PythonPath] mod_python directive.
    4040
     41=== Getting Subversion working ===
     42(this is a cite from TracOnDebianSarge as this is extremely useful for firtstime user setting up subversion repository)
     43
     44To create a Subversion project at '''/var/svn/project''', issue these commands to get SVN up and running:
     45
     46   ''Note:''  As of this writing, the default Subversion package uses the BDB filesystem;   if this is acceptable, feel free to omit the extra argument to '''svnadmin create'''.
     47
     48{{{
     49  $ mkdir /var/svn
     50  $ mkdir /var/svn/project
     51  $ mkdir /tmp/project
     52  $ mkdir /tmp/project/branches
     53  $ mkdir /tmp/project/tags
     54  $ mkdir /tmp/project/trunk
     55  $ svnadmin create /var/svn/project --fs-type fsfs
     56  $ svn import /tmp/project file:///var/svn/project -m "initial import"
     57  $ rm -rf /tmp/project
     58}}}
     59
     60Fix permissions to the repository:
     61{{{
     62  $ find /var/svn/project -type f -exec chmod 660 {} \;
     63  $ find /var/svn/project -type d -exec chmod 2770 {} \;
     64  $ chown -R root.www-data /var/svn/project
     65}}}
     66
     67
     68
    4169== Trac and specific Subversion versions ==
    4270{{{