Closed
Bug 32239
Opened 24 years ago
Closed 22 years ago
rebuildcvshistory fails on files whose rlog date are in mm/dd/yyyy format.
Categories
(Webtools Graveyard :: Bonsai, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mgstahl, Assigned: tara)
References
Details
Attachments
(1 file)
993 bytes,
patch
|
tara
:
review+
|
Details | Diff | Splinter Review |
rebuildcvshistory fails on files whose rlog date are in mm/dd/yyyy format. Output from command: Rebuilding entire checkin history in Bridge, (`Bridge' tree) ... Doing directories: bridge ... /home/cms/local/cvsroot/bridge/bin/1st,v Use of uninitialized value at /opt/mozilla/webtools/bonsai/rebuildcvshistory.cgi line 115, chunk 29 (#1) (W) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign an initial value to your variables. Synopsis: Line 112 attempts to convert dates in yyyy/mm/dd format to mm/dd/yyyy format. However, if the date is already in the mm/dd/yyyy format, line 112 converts it to dd/yyyy/mm, which is not a valid date, so str2time returns a null date. Proposed Revision: # diff rebuildcvshistory.cgi /opt/mozilla/webtools/bonsai/rebuildcvshistory.cgi 1c1 > #!/usr/local/bin/perl -w 112c112 < $datestr =~ s!^(\d+)/(\d+/\d+)!$2/$1!; --- > $datestr =~ s!^(\d{4})/(\d+/\d+)!$2/$1!; This solved the issue on our system
Comment 1•24 years ago
|
||
tara@tequilarista.org is the new owner of Bugzilla and Bonsai. (For details, see my posting in netscape.public.mozilla.webtools, news://news.mozilla.org/38F5D90D.F40E8C1A%40geocast.com .)
Assignee: terry → tara
Comment 2•24 years ago
|
||
This bug has not been touched for more than nine months. In most cases, that means it has "slipped through the net". Please could the owner take a moment to add a comment to the bug with current status, and/or close it. Thank you :-) Gerv
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Blocks: bonsai-test
Assignee | ||
Updated•22 years ago
|
Attachment #86021 -
Flags: review+
checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•