You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Branko Čibej (JIRA)" <ji...@apache.org> on 2018/11/10 14:10:00 UTC

[jira] [Commented] (SVN-4530) move file with @ character (adds new @ at the end)

    [ https://issues.apache.org/jira/browse/SVN-4530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16682420#comment-16682420 ] 

Branko Čibej commented on SVN-4530:
-----------------------------------

Reproduction (in any working copy):
{noformat}
$ touch @bar
$ svn add @bar@
A         @bar
$ svn rename @bar@ @baz@
A         @baz@
D         @bar
{noformat}


> move file with @ character (adds new @ at the end)
> --------------------------------------------------
>
>                 Key: SVN-4530
>                 URL: https://issues.apache.org/jira/browse/SVN-4530
>             Project: Subversion
>          Issue Type: Bug
>          Components: unknown
>    Affects Versions: 1.8.x, 1.10.x
>         Environment: Windows 7, macOS 10.14
>            Reporter: Subversion Importer
>            Assignee: Branko Čibej
>            Priority: Major
>             Fix For: ---
>
>
> {noformat:nopanel=true}
> 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
> {noformat}
> Original issue reported by *54mu3l*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)