auto update with a central repo
Tony Mechelynck
antoine.mechelynck at gmail.com
Mon Sep 19 02:28:35 UTC 2011
On 19/09/11 02:13, Greg Ward wrote:
[...]
> Testing that your hook runs should be easy: just replace it with
>
> changegroup = echo HELLO
>
> and see what gets printed when you push. If you don't see HELLO, your
> hook isn't running! (Errr, I'm assuming that you're pushing to a repo
> running on a Unix-like OS. No clue what happens on Windows.)
>
> Greg
On Windows it's the same IIUC. The Dos/Windows shells have a built-in
ECHO command which does the following (case insensitive):
ECHO
outputs "ECHO is ON" or "ECHO is OFF", depending
ECHO ON
cf. bash "set -v": echo all command-lines to the console from now on
ECHO OFF
cf. bash "set +v": opposite of the above
ECHO some text
cf. bash "echo some text": displays the text
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
175. You send yourself e-mail before you go to bed to remind you
what to do when you wake up.
More information about the Mercurial
mailing list