There may be more than one issue.

Anyway, svn mkdir https://... should be rejected as you're attempting
to commit a change without providing a commit message with a valid
ticket.
It should have been rejected in the pre-commit hook... so the
post-commit hook should have not been called at all.
Which version of the hooks are you using ?

On 6/7/07, David Abrahams <[EMAIL PROTECTED]> wrote:
>
>
> I get this error when doing an
>
>   svn mkdir https://some/url
>
>
> Warning: 'post-commit' hook failed with error output:
> Traceback (most recent call last):
>   File "/usr/local/svnroot/main/hooks/trac-post-commit-hook", line 237, in ?
>     CommitHook()
>   File "/usr/local/svnroot/main/hooks/trac-post-commit-hook", line 156, in 
> __init__
>     chgset = repos.get_changeset(rev)
>   File 
> "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r5468-py2.4.egg/trac/versioncontrol/cache.py",
>  line 53, in get_changeset
>     self.db, self.authz)
>   File 
> "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r5468-py2.4.egg/trac/versioncontrol/cache.py",
>  line 263, in __init__
>     raise NoSuchChangeset(rev)
> trac.versioncontrol.api.NoSuchChangeset: No changeset 2222 in the repository
>
>
> Is this a bug in the post-commit hook?  Anyone have a fix/workaround?
>
> TIA,
>
> --
> Dave Abrahams
> Boost Consulting
> http://www.boost-consulting.com
>
>
> >
>


-- 
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to