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

Re: Bug, or pilot error? Hooks don't run when checking in via svn+ssh

From: Eric Hanchrow <offby1_at_blarg.net>
Date: 2007-03-27 21:56:32 CEST

Oh, here's the output I see (on Ubuntu 6.06.1 if it matters):
    $ ~/svn-example.sh
    + svn co file://localhost/tmp/repos /tmp/wc1
    Checked out revision 0.
    A /tmp/wc1/hum-de-dum
    I expect the commit to fail with a message about the pre-commit hook failing.
    Adding tmp/wc1/hum-de-dum
    Transmitting file data .../svn-live/subversion/libsvn_client/commit.c:867: (apr_err=165001)
    svn: Commit failed (details follow):
    ../svn-live/subversion/libsvn_repos/hooks.c:141: (apr_err=165001)
    svn: 'pre-commit' hook failed (exited with a non-zero exitcode of 1). No error output was produced by the hook.
    + svn co svn+ssh://localhost/tmp/repos /tmp/wc2
    Checked out revision 0.
    I expect the commit to fail with a message about the pre-commit hook failing.
    I expect to see neither commit in this file:
    Second set of data
    I expect to see two lines that say "I am a hook":
    hi, I am a hook: Tue Mar 27 12:49:36 PDT 2007

-- 
There is such a thing as American-ness.  ... [H]ackers ... come
closest of any group I know to embodying it.  Closer, probably, than
the men running our government.
        -- Paul Graham
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 27 22:08:35 2007

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

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