Support --with-revprop in svnmucc.
commit55d620dacade8e4e6f4990509b67cfb72af9ab6f
authorepg <epg@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Thu, 21 Feb 2008 22:59:42 +0000 (21 22:59 +0000)
committerepg <epg@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Thu, 21 Feb 2008 22:59:42 +0000 (21 22:59 +0000)
treefa666e2392a63aec2d929068c01ac3a5b8e1cd44
parent58c6336537c03364d8ca7767217e4578a4d952b2
Support --with-revprop in svnmucc.

* contrib/client-side/svnmucc/svnmucc.c
  (commit_callback): Upgrade to svn_commit_callback2_t interface.
  (execute): Take revprops hash instead of log message argument and pass
    along to svn_ra_get_commit_editor3, not svn_ra_get_commit_editor.
  (usage): Document --with-revprop option.
  (main): Parse --with-revprop option, integrate with log message options,
    and pass along to execute.

* subversion/libsvn_subr/opt.c
  (svn_opt_parse_revprop): Move parse_revprop from subversion/svn/main.c
    here; rename revprop_pair to revprop_spec, as it's not a pair
    of revprops.

* subversion/include/svn_opt.h
  (svn_opt_parse_revprop): Declare.

* subversion/svn/main.c
  (parse_revprop): Remove.
  (main): Use svn_opt_parse_revprop instead of parse_revprop.

git-svn-id: http://svn.collab.net/repos/svn/trunk@29492 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a
contrib/client-side/svnmucc/svnmucc.c
subversion/include/svn_opt.h
subversion/libsvn_subr/opt.c
subversion/svn/main.c