View Ticket
Not logged in
Ticket UUID: e816200f9503cc1167b4538c72789e1ed09231a9
Title: Shunning cause Assertion failure!
Status: Open Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution:
Last Modified: 2009-06-10 18:11:49
Version Found In: 5882d97495
Please consider the following
mkdir bug; cd bug
fossil new repos.fsl
fossil open repos.fsl
date > file.dat
fossil add file.dat
fossil ci -m "checkin 1" -nosign
date > file.dat
fossil ci -m "checkin 2" -nosign
date > file.dat
fossil ci -m "checkin 3" -nosign
fossil ui
If I now shun the revision of "checkin 1" and rebuild the repository, then the timeline will show "checkin 2" as the very first checkin! But if I now select "checkin 2" in the browser and chose to view its ancestors, an error occured and following message will be shown in my browser:
Assertion failed: (e>0), function bag_insert, file bag_.c, line 102.

However, if I deconstruct and reconstruct the repository, the "checkin 2" will really be the first checkin and clicking its ancestors will refer to itself, what I would consider a better solution.

Please let me know, if more information is needed ...