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

Re: Subversion Hooks Issue

From: Doug Goldstein <doug_at_monetra.com>
Date: 2007-02-09 22:51:20 CET

Erik Hemdal wrote:
>> doug@doug ~ $ ssh doug@gravel
>> Last login: Fri Feb 9 16:22:19 2007 from doug.
>> doug@gravel ~ $ /var/data/svn/project/hooks/pre-commit
>> doug@gravel ~ $ echo $?
>> 0
>> doug@gravel ~ $ groups
>> users svnusers
>>
>> Since I am using svn+ssh://, my commits should be running as my user,
>> "doug". So svnserve will be running as that user.
>>
>> You can see the script is owned by the svnusers group, which
>> I also am a
>> part of. If the directories below did not have the execute
>> bit, I would
>> not be able to execute this file.
>
> Yes, that all looks OK. I'm stumped....because I tried an example like this
> on my Fedora system and it works just fine. Maybe there's something broken
> in the file
> like a a missing newline on the last line of the script file?
>
> I've sometimes seen weird behavior like this if a file has Windows line
> endings or some other weirdness. But I'm reaching here...it looks like you
> did everything right.
>
> I think it would have to be something either really arcane or something so
> obvious that I'll be doing the dope slap in a moment. :-) Unfortunately,
> I'm not sure what else to suggest. Erik
>
>

Thanks for your help. I'm sure it's gotta be something either really
simple or some very obscure thing because I have used hooks before and
they've worked successfully for me.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 9 22:51:42 2007

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

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