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

Re: [Issue 616] New - does "svn checkout" really need the -d option?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-06-12 22:18:02 CEST

Josef Wolf <jw@raven.inka.de> writes:

> [ ... ]
> > + What if we just did away with it, and made checkout syntax
> > + look something like this:
> > +
> > + svn checkout http://svn.blah.com/repos/myproj/trunk [DIRNAME]
> > +
> > + where if DIRNAME is absent, it defaults to the last component
> > + of the url.
>
> So DIRNAME would be "trunk" in the example above? Looks strange to me.
> "myproj/trunk" would be better IMHO. This way you would easily get
> "myproj/branches/V4.12" etc pp.

There's no way the client or server can tell that the project "begins"
at /myproj/. They're all just directories.

In our current code, this is how we already behave: if you leave out
the -d option, then 'svn checkout' just creates a working copy with
the same name as the URL's basename.

Karl is merely suggesting tossing the '-d' switch. Either checkout
has one or two arguments. If a 2nd argument is present, it would
treat that 2nd argument as the name of the working copy to create.
It's silly to have a '-d' in there, we were just emulating CVS.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 12 21:45:30 2002

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

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