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

Re: status of symbolic names for revision numbers..

From: Andrew Thompson <subversionuser_at_aktzero.com>
Date: 2005-04-22 05:15:02 CEST

Jack O'Quin wrote:
> Eitan Suez <eitan-keyword-deux.352d02@u2d.com> writes:
>> the main issue i'm trying to address is laziness on my
>> part: i don't like typing urls. typing urls take me too long,
>> and i always make typographical errors with urls. then i
>> get irritated that i have to re-issue the command.
>
> Just define a short environment variable in your ~/.profile to
> minimize the typing. Something like...
>
> export R="svn+ssh://svn.host.example/path/to/repository"
>
> Then you can type...
>
> $ svn cp -r4432 $R/trunk $R/tags/tagname -m "Tagging rev 4432"

I do basically the same thing on my Windows machines: Rightclick on My
Computer, Click Properties. (On Win2k:) Click Advanced. Click
Environment Variables. Choose if you're defining it for you or for any
users of the PC. Just you, click the top New... button. For others,
click the bottom New... button. Type a short name or letter as Jack
showed, and type in (or paste in ;) you're repository url. OK until all
the windows go away.

New command windows will see your environment variable as %VARNAME%

Usage: svn list %SVNAKT%/project/trunk

-- 
Andrew Thompson
http://aktzero.com/
Interested in a hosted SVN repository? Email me, let's talk...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 22 05:17:48 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.