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

svn status --xml generates invalid xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.x
    • 1.5.1
    • cmdline client
    • None

    Description

      File in a working copy which are in a directory which is not tracked by
      subversion causes svn status --xml to generate invalid XML (missing </target>
      closing tag)
      
      For this issue to occur, you must call svn status --xml on the file itself
      
      Macallan:~ aturner$ svnadmin create test_repo
      Macallan:~ aturner$ svn co file:///Users/aturner/test_repo/ test
      Checked out revision 0.
      Macallan:~ aturner$ cd test
      Macallan:~/test aturner$ mkdir foo
      Macallan:~/test aturner$ touch foo/bar
      Macallan:~/test aturner$ svn status --xml foo/bar
      <?xml version="1.0"?>
      <status>
      <target
         path="foo/bar">
      </status>
      svn: warning: 'foo/bar' is not a working copy
      

      http://paste.lisp.org/display/46573#1

      Original issue reported by synfinatic

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: