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

Question on svnsync/main.c:1528

From: Dongsheng Song <dongsheng.song_at_gmail.com>
Date: Sun, 26 Dec 2010 22:54:25 +0800

Hi,

I'm confused on the following code:

          if ((opt_baton->start_rev.kind != svn_opt_revision_unspecified)
              || (opt_baton->end_rev.kind != svn_opt_revision_unspecified))
            return svn_error_create(
                SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
                _("Cannot specify revisions via both command-line arguments "
                  "and the --revision (-r) option"));

It seem that if I can not specify start_rev or end_rev. But the
message is very strange,
Is ' --revision (-r) option' not a command-line argument?

Thanks,
Dongsheng
Received on 2010-12-26 15:55:28 CET

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.