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

svn export should also export single file

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 1.2.0
    • Component/s: cmdline client
    • Labels:
      None

      Description

      svn is not able to export a single file. it would be nice if this 
      would work.
      
      $ svnadmin create rep
      $ mkdir imptest
      $ touch imptest/ts.txt
      $ svn import imptest/ file:///`pwd`/rep -m ""
      Adding         imptest/ts.txt
      
      $ svn export file:///`pwd`/rep/ts.txt .
      svn: Attempted to create entry in non-directory parent
      
      btw:
      importing "imptest" does not make an "imptest" directory in the 
      repository, which is not intuitive too.
      

      Original issue reported by ford

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: