SearchWiki:

Home

About

Indoor

Outdoor

Immaterial


Recent Changes Printable View Page History Edit Page

On server:

  • svnadmin create /home/phil/svn

On dev machine:

  • svn mkdir svn+ssh://xlrmx.org/home/phil/svn/pixtrack -m 'Create pixtrack project'
  • svn import /home/phil/work/rails/pixtrack svn+ssh://xlrmx.org/home/phil/svn/pixtrack/trunk -m "import initial"
  • svn checkout svn+ssh://xlrmx.org/home/phil/svn/pixtrack pixtrack-work

Releasing a version and creating a tag

  • svn copy trunk pixtrack-2.0
  • svn commit -m 'Release v2.0'

Branching dev

  • svn copy trunk experimental-branch
  • svn commit -m 'start of branch'

Releasing a tarball without all the svn directories

  • svn export svn+ssh://xlrmx.org/home/phil/svn/pixtrack/pixtrack-2.0
  • tar cf pixtrack-2.0.tar pixtrack-2.0
  • gzip -9 pixtrack-2.0.tar

within dir: svn status svn commit -m "comment here" svn update

  1. rajout de fichiers : svn add
  2. copie de fichiers : svn copy
  3. déplacement de fichiers : svn move
  4. effacement de fichiers : svn delete

For example, it's useful to have, in a crontab, something like :

svnadmin dump /home/rafael/svn | gzip -9 > dump.gz

This way, the repository can be restored via

gunzip -c dump.gz | svnadmin load /home/rafael/svn

Restoring individual revisions of directory: svnadmin dump --incremental -rX

Edit Page - Page History - Printable View - Recent Changes - WikiHelp - SearchWiki
Page last modified on July 25, 2006, at 09:28 AM EST