You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Martin Hilpert <mh...@iComps.de> on 2004/11/09 12:49:22 UTC
svn import: Zu viele Parameter (too many parameters)
Hello
I try to set up a SVN server and followed the svn-book.pdf (Subversion 1.1)
using the latest Subversion 1.1.2.
I was able to create a repository with the svnadmin tool. But I can't import
a project with the "svn import" command as described on page 91:
C:\Programme\Subversion\bin>svn import file://D:\data\prototypes\.
file://e:/svn
Repository --message 'Initial repository layout'
svn: Zu viele Parameter für Import Befehl
The message "Zu viele Parameter für Import Befehl" translates to "Too many
parameters for import command". I tried several derivates but always the
same result error message. I have 4 parameters:
1) svn command: import
2) project directory to import: file://D:\data\prototypes\.
3) svn repository root: file://e:/svnRepository
4) log message: --message 'Initial repository layout'
Help!
Greetings,
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svn import: Zu viele Parameter (too many parameters)
Posted by Patrick Smears <pa...@ensoft.co.uk>.
On Wed, 10 Nov 2004, martin f krafft wrote:
> also sprach Martin Hilpert <mh...@iComps.de> [2004.11.09.1349 +0100]:
> > 2) project directory to import: file://D:\data\prototypes\.
>
> You can't specify that. SVN uses the current directory, like CVS. So
> first cd to D:\data\prototypes\!
Actually Subversion is cleverer than you might think :-)
C:\Temp\svn>svn import --help
import: Commit an unversioned file or tree into the repository.
usage: import [PATH] URL
Recursively commit a copy of PATH to URL.
If PATH is omitted '.' is assumed. Parent directories are created
as necessary in the repository.
[...]
Patrick
--
The easy way to type accents in Windows: http://www.frkeys.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svn import: Zu viele Parameter (too many parameters)
Posted by martin f krafft <ma...@madduck.net>.
also sprach Martin Hilpert <mh...@iComps.de> [2004.11.09.1349 +0100]:
> 2) project directory to import: file://D:\data\prototypes\.
You can't specify that. SVN uses the current directory, like CVS. So
first cd to D:\data\prototypes\!
--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: madduck.bogus@madduck.net
"i don't think so," said rene descartes. just then, he vanished.
RE: svn import: Zu viele Parameter (too many parameters)
Posted by Ho...@br-automation.com.
Hi there!
"Martin Hilpert" <mh...@iComps.de> schrieb am 09.11.2004 13:49:22:
> C:\Programme\Subversion\bin>svn import file://D:\data\prototypes\.
> file://e:/svn
> Repository --message 'Initial repository layout'
> svn: Zu viele Parameter für Import Befehl
AFAIK the first parameter of svn import should be the local folder without
a transfer protocol
try
svn import D:/data/prototypes/. file:///e:/svn -m 'Initial repository
layout'
cu horst
Re: svn import: Zu viele Parameter (too many parameters)
Posted by Patrick Smears <pa...@ensoft.co.uk>.
> The message "Zu viele Parameter für Import Befehl" translates to "Too many
> parameters for import command". I tried several derivates but always the
> same result error message. I have 4 parameters:
>
> 1) svn command: import
> 2) project directory to import: file://D:\data\prototypes\.
This should be a pathname, not a URL (i.e. remove "file://" and just have
"D:\...")
> 3) svn repository root: file://e:/svnRepository
The syntax of the 'file' URL is "file://<hostname>/<path-to-repos>". It's
OK not to specify a hostname, but you still need all the 3 slashes before
<path-to-repos>: file:///e:/svnRepository
> 4) log message: --message 'Initial repository layout'
This last one is what's causing the "too many parameters": under
Windows, single quotes don't have the effect of quoting many words as a
single parameter - you need to use double quotes:
--message "Initial repository layout"
Hope this helps,
Patrick
--
The easy way to type accents in Windows: http://www.frkeys.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org