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

Re: svnsync sync error parsing arguments

From: Joel Rees <joel.rees_at_gmail.com>
Date: Tue, 25 Feb 2014 07:47:33 +0900

On Mon, Feb 24, 2014 at 11:42 PM, Philip Martin
<philip.martin_at_wandisco.com> wrote:
> Joel Rees <joel.rees_at_gmail.com> writes:
>
>> On Mon, Feb 24, 2014 at 10:14 PM, Philip Martin
>>>
>>> You are probably using Subversion 1.6 which doesn't support the optional
>>> source URL parameter.
>>
>> That would make sense, except that when I initialized the mirror, I
>> used the source and sync arguments and it didn't complain..
>
> Read the help text: in 1.6 init takes a source URL but sync does not.

You know, I think I actually tried that, but I tried it again just now:

---------------
$ svnsync sync https://svn.sourceforge.jp/svnroot/bif-c/
https://svn.code.sf.net/p/bif-c --username reiisi
svnsync: $B$h$j>\$7$/CN$j$?$$$H$-$O(B 'svnsync help' $B$r;n$7$F$_$F$/$@$5$$(B
svnsync: $B0z?t$r%Q!<%9$9$k:]$K%(%i!<$,@8$8$^$7$?(B
-------------------

And it says the same thing: For details see svnsync help, and argument
error during parsing.

Come to think of it "pass" would likely not be katakana, so that's
pretty sure to have been meant to be "parse". Yeah,

----------------
$ export LANG=en_US.UTF-8
$ svnsync sync https://svn.sourceforge.jp/svnroot/bif-c/
https://svn.code.sf.net/p/bif-c --username reiisi
svnsync: Try 'svnsync help' for more info
svnsync: Error parsing arguments
----------------
$svnsync --version
svnsync, version 1.6.17 (r1128011)
   compiled Oct 4 2013, 03:24:06

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.apache.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

$ svnsync --help sync
synchronize (sync): usage: svnsync synchronize DEST_URL

Transfer all pending revisions to the destination from the source
with which it was initialized.

Valid options:
  --non-interactive : do no interactive prompting
  --no-auth-cache : do not cache authentication tokens
  --username ARG : specify a username ARG (deprecated;
                             see --source-username and --sync-username)
  --password ARG : specify a password ARG (deprecated;
                             see --source-password and --sync-password)
  --trust-server-cert : accept unknown SSL server certificates without
                             prompting (but only with '--non-interactive')
  --source-username ARG : connect to source repository with username ARG
  --source-password ARG : connect to source repository with password ARG
  --sync-username ARG : connect to sync repository with username ARG
  --sync-password ARG : connect to sync repository with password ARG
  --config-dir ARG : read user configuration files from directory ARG
  -q [--quiet] : print as little as possible
---------------------

I wonder whether I can query the server version, but that'll have to
wait until I get back home this evening.

-- 
Joel Rees
Be careful where you see conspiracy.
Look first in your own heart.
Received on 2014-02-24 23:48:05 CET

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

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