On Wed, Jan 26, 2011 at 6:58 PM, sheepshearer <[email protected]>wrote:

> hi All
>
> i'm trying to get trac installed with mercurial support.
>
> centos5 linux
> trac 0.12.1 (installed via yum pointed at rpmforge)
>
> i have the following all working really well:
>
> + LDAP authentication through Apache,
> + email notifications,
> + group access permissions via authz_policy
>
> that's great, I also did have Hg integration working (after the
> initial repo clone) but it has since stopped after a pull
>
> when i pull, i now get this:
>
> adding manifests
> adding file changes
> added 1 changesets with 1 changes to 1 files
> Error: Command not found
> warning: incoming hook exited with status 2
>
> this is my hgrc (it will be the incoming changeset that failed in the
> above)
>
> [hooks]
> commit = trac-admin /var/www/trac/myproject changeset added repo_name
> $HG_NODE
> incoming = trac-admin /var/www/trac/myproject changeset added
> repo_name $HG_NODE
>
> my suspicions are with file permissions. i get not found errors with a
> simple:
>
> % trac-admin /var/www/trac/Hood
> Welcome to trac-admin 0.12
> Interactive Trac administration console.
> Copyright (c) 2003-2010 Edgewall Software
>
> Type:  '?' or 'help' for help on commands.
>
> Trac [/var/www/trac/myproject]> repository list
> Error: Command not found
> Trac [/var/www/trac/myproject]>
>

Try: trac-admin /var/www/trac/Hood repository list
(syntax is: trac-admin $ENV repository list)


>
> but this works just fine if i log in as root!
>
> if i can resolve this i suspect the Hg integration will be OK too
> (after all it worked briefly and the plugin is installed and all
> trac.ini settings are in place)
>
> so where should i start looking?
>
> --
> sheepshearer
>
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<trac-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
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