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

svn commands should infer missing wcpaths

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 1.2.0
    • Component/s: libsvn_client
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: