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

Re: newbie question: Do i have to specify the svn location all the time?

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Mon, 15 Sep 2008 01:40:01 -0500

On Sep 15, 2008, at 00:54, baz themail wrote:

> I was reading http://www.jaredrichardson.net/articles/svn-cheat-
> sheet.html.

I can't respond to that particular tutorial; official Subversion
documentation is at http://svnbook.org/

> Here is my question: When doing update, or checkout, do i need to
> specify the svn location all the time like the following statement?
> svn checkout --username jared --password shipit svn://opteron1/svn-
> repo
> How can i simplify the command?

"svn checkout" needs to know what URL you want to check out, so you
must specify the URL for that command.

"svn update" and other commands that operate on existing working
copies already know what URL your repository has, thanks to
information stored inside the .svn directories inside your working
copy, so you do not need to (and cannot) specify the URL for those

You do not need to use the --username and --password switches; you
will be prompted for your username and password if necessary. It's
only necessary the first time you connect to any particular
repository; after that, it's cached in the .subversion directory in
your home directory.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-15 08:40:24 CEST

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