SVN更新后挂钩 [英] SVN post-update hook

查看:120
本文介绍了SVN更新后挂钩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网上搜索了有关如何在本地计算机上实现更新后挂钩的信息,但是我什么都没找到!特别是从PHPStorm 3.0更新svn副本后,我想触发该钩子.我编写了一个phing build.xml,它将处理svn自动更新后要执行的任务.任何的想法 ?提前输入!

I searched on the web for info about how to implement a post-update hook in my local machine but i didnt found anything! In particular I would like to fire that hook after I update my svn copy from PHPStorm 3.0. I wrote a phing build.xml that will handle a task that i want to be performed after the svn update automatically. Any Idea ? Ty in advance!

P.S:我们的本地计算机运行Win7.

P.S: our local machines runs Win7.

推荐答案

正如@Rup所提到的,您需要一个支持客户端挂钩的客户端(例如Tortoise SVN).另一个选择-编写一个脚本(批处理文件),该脚本首先运行svn update,然后执行您想在钩子中执行的其他操作.

As @Rup has mentioned, you'll need a client that supports client-side hooks (such as Tortoise SVN). Another option - write a script (batch file) that first runs svn update and then does other things you'd like to do in your hook.

这篇关于SVN更新后挂钩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆