(no subject) [entries|reading|network|archive]
simont

[ userinfo | dreamwidth userinfo ]
[ archive | journal archive ]

Mon 2003-09-29 10:58
LinkReply
[identity profile] simonb.livejournal.comMon 2003-09-29 03:43
I've got a little script called cvs which appears in my path before the real cvs command which allows me to handle multiple CVS repositories based on the directory it is in and is configured from comments placed within ~/.cvsrc which has proved quite useful; no reason you couldn't use something similar to call svn or cvs as required in the same manner.
Link Reply to this | Thread
[personal profile] cjwatsonMon 2003-09-29 04:10
The one reason that I haven't done this yet is that I have an extraordinarily evil directory at work which is both a CVS working copy and a Subversion working copy. :)
Link Reply to this | Parent
[personal profile] fanfMon 2003-09-29 09:25
Um, why? The only time you need to tell cvs which repo to use is when you don't have a ./CVS directory, e.g. when doing cvs import or cvs checkout. I never have the CVSROOT environment variable set: I just rely on ./CVS/Root and very occasional use of cvs -d.
Link Reply to this | Parent | Thread
[identity profile] simonb.livejournal.comMon 2003-09-29 12:47
You do if you're dealing with multiple CVS servers tho; thus I have a directory called ~/work/wcmc where all of my work stuff is checked out into and ~/work/bpfh where all of my stuff gets checked out into.

Whilst some of this info does get put into the CVS/Root file, things like a specific command name required for me to ssh into work (i.e. setting CVS_RSH) don't work.

The script originally came from WorldCom where every project had its own CVS repository thanks to the use of SourceForge and access was done via ssh
Link Reply to this | Parent
navigation
[ go | Previous Entry | Next Entry ]
[ add | to Memories ]