开发者

Can Mercurial print command success messages instead of no response?

Can Mercurial print command success messages instead of no response in the output 开发者_开发问答prompt?


It returns a value, hence you can wrap it around a script.


you could writepost-<command>hooks to output whatever you want on succesful commands. I don't see what the benefit would be however.

the book has a tutorial on hooks doing almost exactly what you want but with commit . note with a post-command hook you shouldn't need to check the result for success as the hook will only be run if the command was successful.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜