Understood. I will alias the client-side command to run my script on the
client end before invoking subversion.
Thank you for your quick responses.
Gloria
> On 5/5/06, Gloria <strangest@comcast.net> wrote:
>
>> My question is, why can't the pre-commit script itself run
>> interactively?
>
>
> Because the script runs on the server, and there's a network of
> unknown distance and latency between the server and the client. To
> make things even more complex, there are at 3 different network
> protocol implementations (the whole network layer is abstracted.) What
> you're asking for would be really, really hard to implement.
>
> The goal of the pre-commit hook is to simply accept or reject a
> commit. If you want to have a whole interactive thing, then have your
> developers run the script on their client. (The pre-commit hook can
> say somethng like, "commit rejected: run the interactive script to
> fix your code.")
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 6 15:36:33 2006