Hi there. I started to get the following error in the draco.log:
05-11-2003 14:22:56 - DellShareAll : Failed to poll repository for changes because the following exception occurred: System.Exception: Line 5: Unknown action line:: $/DellShare-BrandShare/localdellshare/frames.asp pinned to version 7 at Chive.Draco.Scc.LogParserBase.FireParseException(String message) at Chive.Draco.Scc.VssLogParser.Next() at Chive.Draco.Scc.VssLogParser.Parse() at Chive.Draco.Scc.VssRepository.GetModifications(DateTime sinceDate) at Chive.Draco.BuildRunner.GetModifications(DateTime earliestModificationTime) at Chive.Draco.BuildRunner.CheckForChanges() I looked in the VssLogParser.cs file and looked through the actions it handled. To my suprise, it seemed to handle the unpin action, but NOT the pin action. I tried to fix this by adding the following code (in latest cvs): private Regex actionPinnedRegex = new Regex(@"^(.*)\spinned\sto\sversion\s(\d+)$"); right after the creating of the unpin regex, AND: } else if (actionPinnedRegex.IsMatch(action)) { m = actionPinnedRegex.Match(action); type = ModificationType.Other; file = m.Groups[0].Value; } just after the matching of the unpin action. I have tried to check the regular expression, but tbh - I'm REALLY bad at regexps, so there might be an error there, but it doesnt seem to work. So if anyone could just take a look(and tell me exactly what I'm doing wrong!), I would be very glad. For now i just chose to comment the throwing of an exception, when it doesnt recognize the event - ugly, but it works for now! ;o) Best regards and thanks for any help Thomas Skovsende, Netpeople ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Draconet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/draconet-users