when I try to execute command like this (from a command-line or Perl script – it doesn’t matter):
svn revert "build\myfile@test.meta"
SVN skips this file and outputs:
Skipped 'build\myfile'
I tried doing:
svn revert "build\*.meta"
But it gives the same result.
I can revert these files from the GUI. And I can revert these files by doing (but it reverts more than I want):
svn revert --recursive "build"
Is there a workaround for this?
The @ sign in filenames in Subversion actually has a special meaning – a pegged revision number. To quote the Subversion book:
So, you should append an @ sign to filenames in scripts, like this: