You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marián Petráš <Ma...@Sun.COM> on 2009/05/18 15:04:11 UTC
sequence "/@" in file path - Subversion bug?
Hello,
I have a problem trying to commit files whose names start with an at
sign (@). I have read the advices to append an additional at sign to the
file name. It works some times but it does not work in certain
situations. One of the situations is that the at sign is at the
beginning of the file name. Then some commands, such as "svn add" and
"svn commit", do not work:
$ svn add "dir/@File.txt"
svn: warning: 'modified@File.txt' not found
- note the missing slash in the Subversion output
$ svn add "dir/@File.txt@"
svn: warning: 'modified/@File.txt@' not found
- the slash has been preserved but the trailing at sign was not
stripped
For 'svn add', there is an easy workaround:
$ cd dir
$ svn add '@File.txt'
A @File.txt
$ cd ..
This workaround is sufficient for 'svn add' because I can add the files
in several steps.
But I cannot use the work-around for 'svn commit' if I want to commit
individual files in different diectories. Commit should be atomic, so I
should commit all new/modified/removed files with a single invocation of
'svn commit'.
The only working workaround I have found so far is using changelists.
But this only works with Subversion 1.5 and newer releases.
Marián Petráš
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2300569
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: sequence "/@" in file path - Subversion bug?
Posted by Marian Petras <ma...@sun.com>.
Reported as bug #3416
(http://subversion.tigris.org/issues/show_bug.cgi?id=3416).
Marián
Marián Petráš wrote:
> Hello,
>
> I have a problem trying to commit files whose names start with an at
> sign (@). I have read the advices to append an additional at sign to the
> file name. It works some times but it does not work in certain
> situations. One of the situations is that the at sign is at the
> beginning of the file name. Then some commands, such as "svn add" and
> "svn commit", do not work:
>
> $ svn add "dir/@File.txt"
> svn: warning: 'modified@File.txt' not found
>
> - note the missing slash in the Subversion output
>
> $ svn add "dir/@File.txt@"
> svn: warning: 'modified/@File.txt@' not found
>
> - the slash has been preserved but the trailing at sign was not
> stripped
>
> For 'svn add', there is an easy workaround:
>
> $ cd dir
> $ svn add '@File.txt'
> A @File.txt
> $ cd ..
>
> This workaround is sufficient for 'svn add' because I can add the files
> in several steps.
>
> But I cannot use the work-around for 'svn commit' if I want to commit
> individual files in different diectories. Commit should be atomic, so I
> should commit all new/modified/removed files with a single invocation of
> 'svn commit'.
>
> The only working workaround I have found so far is using changelists.
> But this only works with Subversion 1.5 and newer releases.
>
> Marián Petráš
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2300569
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2355826
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: sequence "/@" in file path - Subversion bug?
Posted by Marián Petráš <Ma...@Sun.COM>.
Marián Petráš wrote:
> Hello,
>
> I have a problem trying to commit files whose names start with an at
> sign (@). I have read the advices to append an additional at sign to the
> file name. It works some times but it does not work in certain
> situations. One of the situations is that the at sign is at the
> beginning of the file name. Then some commands, such as "svn add" and
> "svn commit", do not work:
>
> $ svn add "dir/@File.txt"
> svn: warning: 'modified@File.txt' not found
>
> - note the missing slash in the Subversion output
>
> $ svn add "dir/@File.txt@"
> svn: warning: 'modified/@File.txt@' not found
>
> - the slash has been preserved but the trailing at sign was not
> stripped
Correction: In the actual case I named the directory "modified". I
renamed it to "dir" in my example but I forgot to rename it in the
Subversion output. So here is the updated description of what happened:
$ svn add "dir/@File.txt"
svn: warning: 'dir@File.txt' not found
- note the missing slash in the Subversion output
$ svn add "dir/@File.txt@"
svn: warning: 'dir/@File.txt@' not found
- the slash has been preserved but the trailing at sign was not
stripped
Marián Petráš
NetBeans developer
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2310104
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].