开发者

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)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜