svn.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 16 May 2010 18:53:59 +0300
changeset 390 01fc5dc8e0db
parent 282 8914938042d4
child 395 51561eef9a7d
permissions -rw-r--r--
Run local svn server.

-*- outline -*-

* Where palced config files?

The per-user configuration area currently contains three files—two
configuration files ('config' and 'servers').

  /etc/subversion
                Unix system wide configurations.
  $HOME/.subversion
                Unix per-user configuration area.
  %APPDATA%\Subversion
                Windows per-user configuration area.


* Copy repo from SourceForge to GoogleCode.

  $ svnsync init https://PROJ.googlecode.com/svn https://PROJ.svn.sourceforge.net/svnroot/PROJ
  $ svnsync --username NAME --password PASSWORD \
                sync https://PROJ.googlecode.com/svn https://PROJ.svn.sourceforge.net/svnroot/PROJ

* Disable interactive conflict resolution.

Write in '$HOME/.subversion/config'

  interactive-conflicts = no

* Run local svn server.

  $ svnserve.exe -d --pid-file=svnserve.pid --root=/srv/svn/proj  # default port: 3690
  $ svn ls svn://localhost    # check all OK
  $ kill -l