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

Re: svn log improvement proposals

From: Eirik Bjørsnøs <eirbjo_at_gmail.com>
Date: Sun, 7 Sep 2008 18:35:52 +0200

> "Eirik Bjørsnøs" <eirbjo_at_gmail.com> writes:
>> I'm attaching a patch (against trunk) that adds "<no-revprops/>" to
>> mod_dav_svn, ra_neon and ra_serf.

> Very clean patch, thanks. Note that a log message always helps, see

Thanks Karl, here's a log message. I hope it's ok and sorry for not
including it in the first place.

[[[
Add new command line switch "--with-no-revprops" to the svn log CLI.
Extend the DAV protocol with a "no-revprops" flag and update ra_serf
and ra_neon to send this flag if the revprops array is empty. This
brings the DAV protocol on par with the SVN protocol and exposes this
functionality to command line users.

* subversion/mod_dav_svn/reports/log.c
  (dav_svn__log_report): Read "no-revprops" and leave an empty array
of rev-props to fetch.

* subversion/libsvn_ra_serf/log.c
  (svn_ra_serf__get_log): Add "<no-revprops/>" to log report request
if revprops array is empty.

* subversion/libsvn_ra_neon/log.c
  (svn_ra_neon__get_log): Add "<no-revprops/>" to log report request
if revprops array is empty.

* subversion/svn/cl.h
  (svn_cl__opt_state_t): Add no_revprops

* subversion/svn/log-cmd.c
  (svn_cl__log): Add check for --with-no-revprops only being used in XML mode
  (svn_cl__log): Create an empty revprops array if no_revprops is set.

* subversion/svn/main.c
  (svn_cl__longopt_t) Add opt_with_no_revprops
  (svn_cl__options) Add "with-no-revprops" option
  (main) Check for opt_with_no_revprops being set

]]]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-07 18:36:17 CEST

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.