[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: To decide whether merge should be done or not

From: Arwin Arni Nandagopal <arwin_at_collab.net>
Date: Fri, 14 Feb 2014 19:02:20 +0530

Currently, there are no "client side hook scripts". So, what you are asking
cannot be accomplished.

Also, what intrigues me is, any checkstyle scripts that you run have to be
run on the "merged" code (i.e on the working copy, after the merge, before
committing). So by this time, any necessary conflict resolution should have
been done. So I don't see why you can't do this check at commit time
anyway. If there are any inconsistencies, you can make the hook script
return the errors from the checkstyle script, and all the user has to do
now is to make the necessary changes and then try committing again. In
fact, in my day job, we run these scripts manually before committing, so it
saves a round trip to the server.

Regards,
Arwin Arni
Received on 2014-02-14 14:33:16 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.