[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: Erik Hemdal <erik_at_comprehensivepower.com>
Date: 2007-02-09 22:49:20 CET

>
> 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

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
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:49:55 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.