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

svn commands should infer missing wcpaths

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • all
    • 1.2.0
    • libsvn_client
    • None

    Description

      Say you have a directory checked out at r1000, and you know that in r1100 a file
      was added.  You should be able to run "svn up filename" to get the file into
      your working directory, but you can't, because svn refuses to target a
      nonexistent wc path.
      
      More generally, if an svn operation targets a wcpath which does not exist in the
      wc, but the parent directory does exist, we should perform the operation with
      the parent directory as anchor.  So, for instance, "svn diff -rHEAD foo" in the
      above example should display a diff of empty against <parent dir at HEAD>/foo.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ghudson Greg Hudson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: