* Dermot McCluskey <[EMAIL PROTECTED]> [2007-02-16 10:47]:
> If a users accidentally tries to commit to an SVN repos from an
> anon read-only local copy, it (correctly) fails, but gives an unhelpful
> stack trace, as below. Couldn't a more useful "you don't have
> write premission" message be returned here?
>
> svn+ssh://[EMAIL PROTECTED]/svn/jds/spec-files/trunk
>
> % svn ci -m "test" ChangeLog
> Sending ChangeLog
> Transmitting file data .svn: Commit failed (details follow):
> svn: 'start-commit' hook failed with error output:
> Traceback (most recent call last):
> File "/svn/jds/spec-files/hooks/start-commit", line 40, in ?
> import scmhooks.common as common
> File "/opt/dscm/lib/python2.4/scmhooks/common.py", line 41, in ?
> tonic_db_host = cp.get("db", "tonic_db_host")
> File "/opt/dscm/lib/python2.4/ConfigParser.py", line 511, in get
> raise NoSectionError(section)
> ConfigParser.NoSectionError: No section: 'db'
Actually that's a different error than should be seen. (It's saying
that it can't find some of the local configuration that's expected on
the system.)
Gary, Steve, and I will sync up on why the config file in the chroot
environment is 0600 by root--which is the heart of the problem.
- Stephen
--
Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems
[EMAIL PROTECTED] http://blogs.sun.com/sch/
_______________________________________________
tools-discuss mailing list
[email protected]