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

move file with @ character (adds new @ at the end)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 1.8.x, 1.10.x
    • ---
    • unknown
    • None
    • Windows 7, macOS 10.14

    Description

      according to this: http://svnbook.red-bean.com/en/1.5/svn.advanced.pegrevs.html
      
      I added a @-sign at the end of my path (and it works for commands like add, info, ...)
      but when I want to move/rename a file it doesn't work:
      (copied from windows cmd:)
      
      --- @ character added for source and destination ---
      C:\Temp_Workspace\migration\work>svn mv "C:\Temp_Workspace\migration\work\sdf\@old.txt@" "C:\Temp_Workspace\migration\work\sdf\@new.txt@"
      A         sdf\@new.txt@  <---- why is here a @-sign at the end?
      D         sdf\@old.txt
      
      C:\Temp_Workspace\migration\work>svn mv "C:\Temp_Workspace\migration\work\sdf\_@old.txt@" "C:\Temp_Workspace\migration\work\sdf\_@new.txt@"
      A         sdf\_@new.txt@  <---- why is here a @-sign at the end?
      D         sdf\_@old.txt
      
      
      --- @ character added for source ---
      C:\Temp_Workspace\migration\work>svn mv "C:\Temp_Workspace\migration\work\sdf\_@old.txt@" "C:\Temp_Workspace\migration\work\sdf\_@new.txt"
      A         sdf\_@new.txt  <---- worked!
      D         sdf\_@old.txt
      
      C:\Temp_Workspace\migration\work>svn mv "C:\Temp_Workspace\migration\work\sdf\@old.txt@" "C:\Temp_Workspace\migration\work\sdf\@new.txt"
      A         sdf@new.txt  <---- why is it moved to the parent directory?
      D         sdf\@old.txt
      
      
      --- @ character added for destination ---
      C:\Temp_Workspace\migration\work>svn mv "C:\Temp_Workspace\migration\work\sdf\@old.txt" "C:\Temp_Workspace\migration\work\sdf\@new.txt"
      svn: E200009: 'C:/Temp_Workspace/migration/work/sdf@old.txt': a peg revision isnot allowed here
      
      C:\Temp_Workspace\migration\work>svn mv "C:\Temp_Workspace\migration\work\sdf\_@old.txt" "C:\Temp_Workspace\migration\work\sdf\_@new.txt"
      svn: E200009: 'C:/Temp_Workspace/migration/work/sdf/_@old.txt': a peg revision is not allowed here
      
      
      I'm not sure, if this is a bug. (or a feature :) )
      but I've done everything possible I know.. and I can't solve it.
      maybe you can resolve it.
      
      thanks for your help
      

      Original issue reported by 54mu3l

      Attachments

        Activity

          People

            brane Branko Čibej
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: