Closed Bug 375790 Opened 17 years ago Closed 8 years ago

rebuildcvshistory doesn't properly deal with files in the Attic

Categories

(Webtools Graveyard :: Bonsai, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: justdave, Assigned: tara)

Details

If a file is in the Attic when you run rebuildcvshistory, it gets inserted into the database with Attic in its path.  Changes to this file are all handled without Attic in the path, so you wind up with two copies of it in the database.

The case we noticed tonight, files were committed then later deleted. They're in the database at the normal path.  cvsrebuildhistory was run, and additional entries for those files in the attic were added instead of modifying the existing ones.

http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=&branchtype=match&dir=mozilla%2Fbrowser%2Ffuel&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=all&mindate=&maxdate=&cvsroot=%2Fcvsroot
a proper fix for this will need some way to clean up the existing corruption as well (even if it's a separate script to run once to do it).
You can see another instance of this in action on bug 421018.
And another one in bug 423986.
Bonsai was decommissioned, closing all remaining bugs "wontfix"
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.