Hello,

I'm using a simple hook to lock down a repository on a server. I simply
added the following config in the hgrc of the repo:

[hooks]
prechangegroup.locked = echo TEAM REPOSITORY IS LOCKED. please contact
the release manager. && exit 1

When I try to push to this repository over the command line i get the
"TEAM REPOSITORY IS LOCKED. please contact the release manager "
message and the push will abort.

But in combination with tortoiseHG, the echo message will not be shown
in the output window. I will only get the info:

searching for changes
1 changesets found
 *** prechangegroup.locked hook exited with status 1[command
interrupted]

which means the repository is locked, but the user has no idea why he
can't push...


Is it possible to write to the output windows of tortoiseHG? Maybe I
need another command instead of echo?

Thank you,

fabse


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to