As far as I can tell if a tag is moved (added to another commit and deleted from the old commit) there is no easily accessible history kept as to where it pointed to in the past, is that correct? I couldn't see any option for getting the history of a tag in the ui.
Since accidentally moving a tag could be seriously damaging (wrong data gets shipped) or at the very least - extremely confusing, I want to capture the tag state and keep it safe and accessible. I think I can do this by getting the tags from "fossil tag list" and then running "fossil tag find <tag>" for each tag but a quick look at the schema left me thinking it might be better to do a direct query. Before I spend time figuring it out I'd like advice from the list. Hack some sql or reply on command line calls? Oh, and I suppose there is json but that I know nothing about yet. To explore I added a tag to one rev, then added it to another rev and finally deleted it from the first rev and this is what I see in the sqlite3 db: sqlite> select * from tag inner join tagxref on tag.tagid=tagxref.tagid where tag.tagname='sym-testtag'; tagid tagname tagid tagtype srcid origid value mtime rid ---------- ----------- ---------- ---------- ---------- ---------- ---------- ---------------- ---------- 26 sym-testtag 26 1 470 457 2455851.32158092 457 26 sym-testtag 26 0 471 468 2455851.32212765 468 Is the tagtype=0 mean hidden or deleted? Lastly, I want to create a table and store this information in the fossil repo db itself - does fossil inspect it's own schema and potentially get upset at extraneous data therein or can I safely go ahead and create some tables and stick data in the fossil file? Thanks, Matt -=-
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

