How to revert files with specific extension in svn through command line?
In svn I am trying to revert all txt files recursively through comman开发者_C百科d line.
This should do what you are asking:
svn revert *.txt
After lots of fiddling with command line I finally got it. The solution is as follow:
for /r %WorkingCopy% %%R in (*.txt) do if exist "%%R" (svn revert %%R)
精彩评论