You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Justin Erenkrantz <je...@apache.org> on 2002/07/25 19:15:02 UTC

I want my -d option back to checkout

svn co http://svn.collab.net/repos/svn/trunk

forces me to have a directory called trunk.

All I have to say is I want my -d option back.  Removing it was
silly, IMHO.  I know I wasn't paying attention when the discussion
happened, so I'm partly to blame, but still...

I don't want it to be called trunk.  I want it to be called
subversion or even svn.  And, forcing me to do a mv after the
checkout isn't nice.  So, what was the rationale for removing it
again?

If I want to check out a tagged version, I'm just going to get
a directory called 0.14.0.  Yuck.  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: I want my -d option back to checkout

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Justin Erenkrantz <je...@apache.org> writes:
> The frustrating thing for me is that this changed at such a late
> date and I already knew that svn could do it.  Yes, I skipped the
> whole discussion, but still, I'm positing that this is a needless
> regression from CVS.  -- justin

Changing an option is not a regression, it is a difference.  By your
logic, *all* of Subversion would be a "regression" from CVS :-).

If you see that something formerly possible has now become impossible,
then that's a regression, and we should fix it.  Is there such a
thing?

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: I want my -d option back to checkout

Posted by Justin Erenkrantz <je...@apache.org>.
On Thu, Jul 25, 2002 at 02:21:31PM -0500, Ben Collins-Sussman wrote:
> Justin Erenkrantz <je...@apache.org> writes:
> 
> > svn co http://svn.collab.net/repos/svn/trunk
> 
> Try 
> 
>    svn co http://svn.collab.net/repos/svn/trunk my-silly-dir-name
> 
> Also try,
>  
>    svn help co

Here's what I did.

svn co http://svn.collab.net/repos/svn/trunk -d subversion

Here's what I got:

svn: invalid option character: d
usage: svn <subcommand> [options] [args]
Type "svn help <subcommand>" for help on a specific subcommand.

Most subcommands take file and/or directory arguments, recursing
on the directories.  If no arguments are supplied to such a
command, it will recurse on the current directory (inclusive) by
default.


Available subcommands:
   add
   checkout (co)
   cleanup
   commit (ci)
   copy (cp)
   delete (del, remove, rm)
   diff (di)
   export
   help (?, h)
   import
   info
   log
   merge
   mkdir
   move (mv, rename, ren)
   propdel (pdel)
   propedit (pedit, pe)
   propget (pget, pg)
   proplist (plist, pl)
   propset (pset, ps)
   revert
   resolve
   status (stat, st)
   switch (sw)
   update (up)

Subversion is a tool for revision control.
For additional information, see http://subversion.tigris.org

---

My terminal is only about twenty-five lines high, so the top
part got chopped off.  I did run svn help co, but didn't catch the
destination part at top of the help.  Regardless, svn should have
given me the syntax on 'svn co' in this case rather than giving me
the completely unhelpful message it did.

I'd be content (still peeved) if the -d case were specially
caught by svn and said:

"Yoo-hoo, we don't support this CVS syntax.  Omit the -d and
all will be well."

The frustrating thing for me is that this changed at such a late
date and I already knew that svn could do it.  Yes, I skipped the
whole discussion, but still, I'm positing that this is a needless
regression from CVS.  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: I want my -d option back to checkout

Posted by Ben Collins-Sussman <su...@collab.net>.
Justin Erenkrantz <je...@apache.org> writes:

> svn co http://svn.collab.net/repos/svn/trunk

Try 

   svn co http://svn.collab.net/repos/svn/trunk my-silly-dir-name

Also try,
 
   svn help co

:-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: I want my -d option back to checkout

Posted by cm...@collab.net.
Justin Erenkrantz <je...@apache.org> writes:

> svn co http://svn.collab.net/repos/svn/trunk
> 
> forces me to have a directory called trunk.
> 
> All I have to say is I want my -d option back.  Removing it was
> silly, IMHO.  I know I wasn't paying attention when the discussion
> happened, so I'm partly to blame, but still...
> 
> I don't want it to be called trunk.  I want it to be called
> subversion or even svn.  And, forcing me to do a mv after the
> checkout isn't nice.  So, what was the rationale for removing it
> again?

Um.  `svn co http://svn.collab.net/repos/svn/trunk subversion`.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: I want my -d option back to checkout

Posted by Blair Zajac <bl...@orcaware.com>.
Justin Erenkrantz wrote:
> 
> svn co http://svn.collab.net/repos/svn/trunk

We just removed requiring -d on the command line.  Use

svn co http://svn.collab.net/repos/svn/trunk svn

Best,
Blair

-- 
Blair Zajac <bl...@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: I want my -d option back to checkout

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Justin Erenkrantz <je...@apache.org> writes:
> I now can't check out two projects at the same time.

Sure you can.

The "-d" added no information, it was completely redundant.  A URL is
unambiguously distinguishable from a local target directory.  So you
name the semantics you want from checkout, and Subversion can support
them without resorting to "-d" :-).

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: I want my -d option back to checkout

Posted by Justin Erenkrantz <je...@apache.org>.
On Thu, Jul 25, 2002 at 09:27:40PM +0200, Sander Striker wrote:
> No, it doesn't!
> 
> $ svn co http://svn.collab.net/repos/svn/trunk whatever_i_want_to_name_it

I now can't check out two projects at the same time.

The common use case for me is:

cvs co apr apr-util

I'll just say that I think this is a serious regression from CVS.
If a user (ie me) were to do this, I get the apr project checked
out as apr-util.  Gag.  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: I want my -d option back to checkout

Posted by Sander Striker <st...@apache.org>.
> From: Justin Erenkrantz [mailto:jerenkrantz@apache.org]
> Sent: 25 July 2002 21:15

> svn co http://svn.collab.net/repos/svn/trunk
> 
> forces me to have a directory called trunk.

No, it doesn't!

$ svn co http://svn.collab.net/repos/svn/trunk whatever_i_want_to_name_it
 
> All I have to say is I want my -d option back.  Removing it was
> silly, IMHO.  I know I wasn't paying attention when the discussion
> happened, so I'm partly to blame, but still...
> 
> I don't want it to be called trunk.  I want it to be called
> subversion or even svn.  And, forcing me to do a mv after the
> checkout isn't nice.  So, what was the rationale for removing it
> again?
> 
> If I want to check out a tagged version, I'm just going to get
> a directory called 0.14.0.  Yuck.  -- justin

Sander


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org