Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3286

Add --with-no-revprops to svn log, update mod_dav_svn, neon, serf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.6.0
    • mod_dav_svn
    • None

    Description

      [[[
      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
      
      * notes/webdav-protocol
       (log-report) Add "no-revprops" option
      
      ]]]
      

      Original issue reported by eirikb

      Attachments

        1. 1_subversion-log-with-no-revprops.patch
          6 kB
          Subversion Importer

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: