SVN post-commit hook sending a message back to client
问题 I'm writing a post-commit script in bash, and I'd like to pass messages back to the client who's making a commit. However echo my message >&2 isn't making it back to the client. Is it even possible to send messages back with a post-commit hook? 回答1: Condering a post-commit hook does: anything that the hook printed to stderr will be marshalled back to the client, making it easier to diagnose hook failures. you can check if this isn't a simple quote issue: echo "my message" >&2 You can see in