Freitag, 26. September 2008

Debian devscripts and Subversion

I often have to work with Subversion, Tagging and other things and a collegue of me (a Debian Developer) pointed me to a tool called svnpath, which eases working with svn and URLs. I have so many repositories that i often forget their spelling or tagging convention. svnpath is contained in the famous devscripts Debian package with various other tools, so it's worth a look.

For example, if you want to know your current tags, you can use

# svn ls $(svnpath tags)

if you're current working directory is trunk/. To create a new tag, you're going to do the following:

# svn cp $(svnpath) $(svnpath tags)/release-1.1

Very nice ;)