开发者

How to revert files with specific extension in svn through command line?

开发者 https://www.devze.com 2023-03-15 09:48 出处:网络
In svn I am trying to revert all txt files recursively through comman开发者_C百科d line.This should do what you are asking:

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

精彩评论

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