开发者

Does SVN allow update selected directories in bath?

开发者 https://www.devze.com 2023-04-04 09:13 出处:网络
I have project with many branches and tags and with many directories. Is it possible write some scripts -开发者_JAVA技巧 so first script update only trunk, another only branch 1 etc, because now I was

I have project with many branches and tags and with many directories. Is it possible write some scripts -开发者_JAVA技巧 so first script update only trunk, another only branch 1 etc, because now I waste many time to clock to update on more than 50 directories to check if there are new updates? So some kind of automation is need. Thanks.


Well you shouldtn have them all checked out.... You should only check out the branch youre working (in this sense trunk is also a branch). Tags should NEVER change... typically you use a Tag as a snapshot of particular revision like a release so there would be no reason to update it.

That said if you have th eentire repo checkout for some reason you can just update the branch you want. Assuming you have the entire repo checked out to /myrepo:

cd /myrepo
svn up trunk
0

精彩评论

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