I found something interested.

I commented the post-commit script created by scmbug when running 
/usr/bin/scmbug_install_glue.pl with the following:

echo "/usr/bin/perl -I ${REPOS}/hooks/lib/scmbug 
${REPOS}/hooks/bin/scmbug_activity.pl ${REPOS}/hooks/etc/scmbug/glue.conf 
activity_commit ${REPOS} ${REV}" > /tmp/log.txt

After commiting a change I got this output on log.txt:

/usr/bin/perl -I /hooks/lib/scmbug /hooks/bin/scmbug_activity.pl 
/hooks/etc/scmbug/glue.conf activity_commit

Looks like its not getting the repository path? 

This is the command I used at first place:

/usr/bin/scmbug_install_glue.pl --scm=Subversion --product="TestProduct" 
--repository=file:///home/jose/svn/DCSwebsite --bug=7 
--binary-paths=/bin,/usr/bin --daemon=127.0.0.1

Any ideas?


--- On Wed, 12/1/10, Jose Sanchez <[email protected]> wrote:

> From: Jose Sanchez <[email protected]>
> Subject: Re: [scmbug-users] unable to view bug when commiting through 
> subversion
> To: "Kristis Makris" <[email protected]>
> Cc: [email protected]
> Date: Wednesday, December 1, 2010, 9:59 PM
> Hello Kristis,
> 
> This is a new install so when I got the first 50 char min
> error from Scmbug through TortoiseSVN I changed it. Didnt
> actually test it without adding more than 50 characters.
> 
> I just changed it back, added a comment of 50 or more chars
> and Im still getting the same output. File is commited
> correctly but the bugzilla bug doesnt get updated. Although
> Im still getting the error below,
> 
> Error: post-commit hook failed (exit code 255) with no
> output on my TortoiseSVN. Not sure if its related.
> 
> --- On Wed, 12/1/10, Kristis Makris <[email protected]>
> wrote:
> 
> > From: Kristis Makris <[email protected]>
> > Subject: Re: [scmbug-users] unable to view bug when
> commiting through subversion
> > To: "Jose Sanchez" <[email protected]>
> > Cc: [email protected]
> > Date: Wednesday, December 1, 2010, 9:43 PM
> > On Wed, 2010-12-01 at 17:13 -0800,
> > Jose Sanchez wrote:
> > > Thanks for the reply.
> > > I changed the 50 char min from the glue record.
> > >  
> > > Yes. I can see through web that the commit
> succeeded.
> > 
> > So, before you changed the 50 char minimum, was the
> commit
> > rejected? Can
> > you change the minimum to 50 chars again, and commit
> with a
> > short
> > comment, and see if the commit still went through? If
> it
> > did, that would
> > be another bug.
> > 
> > Now that the commit is accepted, are the logs
> different?
> >
> 
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to