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

Re: CVS update: subversion/subversion/libsvn_ra_local ra_plugin.c

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2001-03-31 19:21:01 CEST

> User: sussman
> Date: 01/03/30 11:32:53
>
> Modified: . configure.in
> subversion/client cl.h help-cmd.c main.c
> subversion/include svn_ra.h
> subversion/libsvn_ra ra_loader.c
> subversion/libsvn_ra_dav session.c
> subversion/libsvn_ra_local ra_plugin.c
> Log:
> Really, *really* paint the bikeshed. Try running 'svn -v' now.
>
> Fitz: sorry I did this. I really needed the therapy! But I don't
> know how to do longopts, so maybe someone can make --version work.

Heh. You don't know it, but you've *already* made --version work... try
it:

    pantheon: ...client./svn --version
    
    Subversion, version M2 (pre-alpha) (client)
    
    Copyright (C) 2000-2001 CollabNet. All rights reserved.
    
    Subversion is released under CollabNet's open source license,
    which is available at http://subversion.tigris.org
    
    The following repository access (RA) modules are available:
    
    * ra_dav : handles 'http' schema
     (Module for accessing a repository via WebDAV (DeltaV) protocol.)
    * ra_local : handles 'file' schema
     (Module for accessing a repository on local disk.)
    
    pantheon: ...client$

Note that the first member of the struct is the longopt without the
"--". only force and xml-file do not have shortopts:

static const apr_getopt_option_t options[] =
{
  {"destination", 'd', 1},
  {"force", svn_cl__force_opt, 0},
  {"help", 'h', 0},
  {"message", 'm', 1},
  {"revision", 'r', 1},
  {"version", 'v', 0},
  {"filedata", 'F', 1},
  {"xml-file", svn_cl__xml_file_opt, 1},
  {0, 0, 0}
};

-Fitz
Received on Sat Oct 21 14:36:26 2006

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.