[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CVS like environment?

From: Sensei <senseiwa_at_tin.it>
Date: 2005-07-05 19:18:53 CEST

On Jul 5, 2005, at 11:50am, Bob Proulx wrote:

> Why is CVSROOT needed for anything after the checkout? It's not.
> This is the same as for subversion. So using this for the other
> actions such as diff confuses me.
>
> cvslab co myProject
> cvs -qn update
> cvs status | grep Status: | grep -v Up-to-date
> cvs diff
> cvs commit

You're right, anyway it was just a suggestion about this option,
present in CVS and not in subversion... anyway, it's not even needed
for checkout... but it's there :)

> You can easily do that for subversion. Since you have already trained
> them to use the function calls you can continue.
>
> svnlabco()
> {
> svn checkout scheme://host/path/$1 $1
> }

Yes, all I found useful is not specifying the remote each time, and
having a single script that works with every command using $@...

> Then your students can do:
>
> svnlabco myProject
> svn status
> svn diff
> svn commit

Yes. Anyway, why is so bad adding an environment variable for remote
repositories? I don't understand (really)...

-- 
Sensei <senseiwa@tin.it>
cd /pub
more beer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 5 19:38:27 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.