Subversion update externals to a date

前端 未结 12 1384
無奈伤痛
無奈伤痛 2020-12-12 21:04

I\'m working on a large, established project under SVN control. Many parts of the code base are being checked out as externals, but are being actively worked on by other peo

12条回答
  •  爱一瞬间的悲伤
    2020-12-12 21:27

    This is inefficient, in that it calls svn update more often than (usually) required. Otherwise, it is short an sweet:

    Unix:

    find . -name .svn -execdir svn update -r {2010-08-30} \;
    

    Windows:

    forfiles /m .svn /s /c "cmd /c svn up -r {2010-08-30}"
    

提交回复
热议问题