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'
 
 
This message posted from opensolaris.org
_______________________________________________
tools-discuss mailing list
[email protected]

Reply via email to