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

'svn log' not returning paths over DAV

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 1.2.0
    • Component/s: mod_dav_svn
    • Labels:
      None

      Description

      kfogel and I just noticed this bug using today's /trunk, r10664.
      
      Run log against a repository over ra_local:
      
      $ svn log -v file:///usr/local/svn/testrepos
      
      r4 | sussman | 2004-08-16 14:11:42 -0500 (Mon, 16 Aug 2004) | 1 line
      Changed paths:
         M /jde/ReleaseNotes.txt
         M /jde/doc/fig3.gif
         M /zenirc/zenirc-yow.elc
      [...]
      
      
      Now, against the same repos over DAV:
      
      $ svn log -v http://localhost/svn/testrepos
      ------------------------------------------------------------------------
      r4 | sussman | 2004-08-16 14:11:42 -0500 (Mon, 16 Aug 2004) | 1 line
      Changed paths:
         M
       
      [...]
      
      
      That's bizarre.  Looking at the XML output in ethereal, I see this:
      
      <S:log-item>
      <D:version-name>4</D:version-name>
      <D:creator-displayname>sussman</D:creator-displayname>
      <S:date>2004-08-16T19:11:42.381267Z</S:date>
      <D:comment>mixed commit, both public and private</D:comment>
      <S:modified-path></S:modified-path>
      <S:modified-path></S:modified-path>
      <S:modified-path></S:modified-path>
      </S:log-item>
      
      Notice that there's no CDATA in the <modified-path> tags.
      However, 'A'dded files are showing up just fine in both XML and 'svn log' output:
      
      <S:log-item>
      <D:version-name>1</D:version-name>
      <D:creator-displayname>sussman</D:creator-displayname>
      <S:date>2004-08-16T19:05:39.526532Z</S:date>
      <D:comment>import</D:comment>
      <S:added-path>/jde</S:added-path>
      <S:added-path>/jde/doc/bsh-ug-content.html</S:added-path>
      [...]
      
      r1 | sussman | 2004-08-16 14:05:39 -0500 (Mon, 16 Aug 2004) | 1 line
      Changed paths:
         A /bbdb
         A /bbdb/auto-autoloads.el
         A /bbdb/bbdb-autoloads.el
      [...]
      
      
      We're testing 1.1.0-RC2 tarball right now, as well as 1.1.x HEAD.  Our guess is
      that this might be coming from one more mod_dav_svn escaping fixes applied in
      the last couple of weeks.
      
      The other possibility is the dataset itself:   I'm attaching exact dumpfile that
      kfogel and I have loaded up into an empty repos.  The bug reproduces on this
      dataset for both of us.
      

        Attachments

        1. 1_dump.bin
          2.90 MB
          Ben Collins-Sussman

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sussman Ben Collins-Sussman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: