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

[BOOK] Wrong usage of 'svn import' command

From: Guido Ostkamp <subversion_at_ostkamp.fastmail.fm>
Date: 2004-08-08 23:12:46 CEST

Hello Subversion book authors,

I used subversion 1.0.6 for the very first time today and tried your book
as primer.

However, when I wanted to 'svn import' a local directory structure I found
lots of examples for this command to be inaccurate - it doesn't work as
described, you get an error instead. I don't know whether this is caused
by a recent change in the command syntax.

The incorrect examples are given at these locations:

   1. Introduction
     A Quick Start
     ...

     $ svn import /tmp/project file:///path/to/repos -m "initial import"
   ...
   3. Guided Tour
      svn import
      ...
      $ svn import mytree file:///usr/local/svn/newrepos/some/project
   ...
   9. Subversion Complete Reference
     The Subversion Command Line Client: svn
       svn Subcommands
         svn import
         ...

The command 'man svn' says

   import Repository-URL [Path] [New-Repository-Entry]
     [--username name] [--password pass] [--no-auth-cache]
     [--encoding] [-FmqN]
     Import a file or tree into the repository.

which means that the 'repository-URL' is the first, not the second
argument.

Would you please fix the book?

Thank you.

BTW: I am not subscribed to the list, so if anyone wants to reply, please
send directly to the From-address.

Best regards,

Guido

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 8 23:19:41 2004

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.