[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

sequence "/@" in file path - Subversion bug?

From: Marián Petráš <Marian.Petras_at_Sun.COM>
Date: Mon, 18 May 2009 17:04:11 +0200

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_at_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_at_subversion.tigris.org].
Received on 2009-05-18 17:00:52 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.