Differences between revisions 5 and 6
Revision 5 as of 2005-09-01 11:15:03
Size: 1445
Editor: anonymous
Comment:
Revision 6 as of 2005-09-01 15:06:49
Size: 1589
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:

When you're granted your repository, you can access it by "svn co svn+ssh://svn.debian.org/svn/''reponame''", which provides you write access.

Useful tricks with SVN on Alioth:

You have shell access on alioth, because of this you can often do most of the manipulations you need directly on the repository yourself. Some commonly asked for items:

  • Creating a new public SVN repository (for a new project)

SVN repository on svn.debian.org doesn't get created with a new project, you have to request it at the [https://alioth.debian.org/tracker/?group_id=1&atid=200001 Tracker: Support Requests].

When you're granted your repository, you can access it by "svn co svn+ssh://svn.debian.org/svn/''reponame", which provides you write access.

  • Importing a CVS repository

Install cvs2svn and generate the svn repository. Use the svnadmin dump command to get a dump file. Copy it to alioth. Use the svnadmin load command to import the repository.

  • Setting up On-Commit notifications

Setting up commit notifications can be done directly in the repository.

http://svnbook.red-bean.com/svnbook-1.0/ch05s02.html#svn-ch-5-sect-2.1

Gives instructions on how to do this.

  • Guests, svn+ssh checkouts and svn:externals

If you have a foo-guest account and you want to checkout a pkg-bar repository with externals, svn+ssh will automatically try to use your $USER var when checkouting the externals.

A work-around is to temporarily edit your $HOME/.subversion/config file so that you get something like:

 ["tunnels"]
 ssh = $SVN_SSH ssh -l foo-guest

Then you will be able to checkout using

 svn co svn+ssh://svn.debian.org/wsvn/pkg-bar