Making import syntax more consistant (Was Re: making repositories)
From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-10-14 21:30:53 CEST
-----BEGIN PGP SIGNED MESSAGE-----
To anyone who cares, read the following, and if you have ever been confused by
On Monday 14 October 2002 11:34, you wrote:
Right now, we use "svn import" as:
$ svn import REPOS_URL [PATH] [NEW_ENTRY_IN_REPOS]
I propose:
$ svn import REPOS_URL[/NEW_ENTRY] [PATH]
My problems with the current scheme:
(1) AFAIK, import is the only command where REPOS_URL and ENTRY_IN_REPOS are
(2) Not only are they separate, but there is another argument between them.
All of the current use cases could be accounted for by the change. If you
(1) $ svn import url://repos/new-entry working-copy
(2) $ svn import url://repos/ working-copy
(3) $ svn import url://repos/
And, the change would provide one additional use case:
(4) $ svn import url://repos/new-entry
which is impossible right now because you can't specify the third argument
Much like removing the "-d" option from checkout, this change would probably
Are there technical reasons why the change would be impossible? Is there a
Thanks,
iD8DBQE9qxtwhDAgUT1yirARAoVRAJwLAk7rgi6EZ60O0qLL0BR/BmvlpgCeMTyE
---------------------------------------------------------------------
|
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.