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

svn copy does not support peg revision

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.4.x
    • ---
    • cmdline client
    • None

    Description

      It seems that svn copy doesn't support the peg revisions.
      
      Step to reproduce:
      
      $> svnadmin create testrepo
      $> svn co file:///tmp/testrepo testwc
      Checked out revision 0.
      $> cd testwc
      $> echo aaaaaa > a
      $> svn add a
      A         a
      $> svn commit -m "adding a"
      Adding         a
      Transmitting file data .
      Committed revision 1.
      $> svn move a b
      A         b
      D         a
      $> svn commit -m "moving a to b"
      Deleting       a
      Adding         b
      
      Committed revision 2.
      $> svn delete b
      D         b
      $> svn commit -m "delete b"
      Deleting       b
      
      Committed revision 3.
      $> svn copy -r 1 file:///tmp/testrepo/b@2 c
      svn: Path 'file:///tmp/testrepo/b@2' not found in revision 1
      
      
      In the last command we could expect that svn select the file prensent at the url
      /testrepo/b in revision 2 and add a copy named c as it was in revision 1.
      

      Original issue reported by flyer

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: