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

svn info returns parent information on missing directories

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.x
    • Fix Version/s: 1.7.0
    • Component/s: libsvn_client
    • Labels:
      None

      Description

      # svn mkdir a
      # echo > b
      # svn add b
      # svn ci -m "" 
      
      # mv a old-a
      # mv b old-b
      # svn info a
      (error case)
      # svn info b
      (ok case)
      
      The first info call gives the info of the parent directory with 
      as path value'a' while the second info call gives information of 
      the missing file
      
      Expected behaviour:
      Current working copy format: svn info a
      Some kind of error (when the information is not available)
      Or the real information (if that is reconstructable from the parent directory)
      
      WC NG with information stored in one location:
      The right information
      
      (Added as testcase in the SharpSvn test framework)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rhuijben Bert Huijben
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: