开发者

Batch Script to deploy Explicitly mentioned SVN revisions to Testing server

I want to write down a Batch Script in which I put (Enter) the revision number(s) and it deploys those revision numbers in sequence on a specific location of the Server.

Any help or a sample batch s开发者_JAVA技巧cript in Windows would be highly appreciated.

Regards,

Waseem Shahzad Bukhari.


Usually you want to perform a checkout for this

svn checkout -r <REVISION> <URL> <TO-PATH>

You can then later call

svn update -r <REVISION> <PATH>

to update to a later revision. This uses the data stored in the .svn subdir(s) to perform the least amount of work.

If you would use

svn export -r <REVISION> <URL> <TO-PATH>

you would also get the files from the repository, but without a way to connect them to where they came from.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜