On Wed, Feb 25, 2009 at 7:28 PM, Jaydeep Ghurye <[email protected]>wrote:
> Hi Tsahi, > Thanks for the input. I haven't yet tried this option, but I > do have a query. The file pre-commit.bat runs the command > > "C:/Perl/bin/perl" -I %REPOS%/hooks/lib/scmbug > %REPOS%/hooks/bin/scmbug_activity.pl %REPOS%/hooks/etc/scmbug/glue.conf > activity_verify %REPOS% %TXN% >&2 > > I could use the -d option on this, but I am not sure what %REPOS% or %TXN% > stand for, or where they are derived from. It's logical that %REPOS% refers > to the repository and I can probably replace it with the path to the same, > but I'm not sure what I can use in place of %TXN%. Does Subversion store old > transaction IDs somewhere? I looked under the %REPOS%/db/transactions folder > and didnt find any. I would like to use a valid transaction ID in place of > this %TXN% to try and debug the problem. > > Thanks, > Jaydeep. > > On Wed, Feb 25, 2009 at 1:01 AM, Tsahi Asher <[email protected]> wrote: > >> >> you can run perl.exe with the -d parameter in a console window, such as >> >> >perl -d <script name> >> >> which will allow you all of these, although in text mode and not a graphic >> IDE. >> >> tsahi >> >> -- >> The day Micro$oft sells something that doesn't SUCK >> is the day they start selling vacuum cleaners. >> http://www.geocities.com/tsahi_75 >> >> >> >> ----- Original Message ---- >> > From: Kristis Makris <[email protected]> >> > To: Jaydeep Ghurye <[email protected]> >> > Cc: [email protected] >> > Sent: Tuesday, February 24, 2009 6:33:24 PM >> > Subject: Re: [scmbug-users] Problem with Commit using Subversion and >> Bugzilla. >> > >> > On Tue, 2009-02-24 at 12:03 +0530, Jaydeep Ghurye wrote: >> > >> > > Apparently, the log file is not providing any additional information >> > > than what we already have. Kindly let me know if there is anything >> > > else that we can do to get to the root of this problem. >> > >> > Can you also raise the debugging to DEBUG (instead of just WARN). There >> > should be a lot more debugging information before this message. >> > >> > > Can you tell me if there is any tool available that can help me debug >> > > SCMBUG at run-time? I mean an editor with debugging facilities, like >> > > you have in Turbo C++ or Visual Basic, where you have features for >> > > adding breakpoints, adding a 'Watch' to variables and monitoring the >> > > flow of the program using step mode etc. >> > >> > I don't know of such tools. But the calls to Scmbug originate from >> > /hooks/{pre,post}-commit. That's where you could intercept >> > them. Beware that Subversion cleans up any environment variables before >> > calling these. >> >> >> >> >> >
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
