Fossil SCM
Shunning cause Assertion failure!
Closed
e816200f9503cc1…
· opened 16 years, 10 months ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Important
- Resolution
- Overcome_By_Events
- Subsystem
- —
- Created
- June 10, 2009 6:11 p.m.
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 ...
Ciao,
chi.