On Apr 7, 2009, at 12:24 AM, bharder wrote:

>
> I'm exploring the storage of the archive, and wondering: if I look  
> at the
> sqlite db housing the entire repo, the "blob" table holds the various
> artifacts. What's the easiest way to tease-out what kind of artifact
> any single record is? I.e., any artifact could be a file-change  
> checkin,
> or a ticket udpate, or a wiki update... Is there a convenience  
> function
> that I can run to find this out? I'm searching the source, but haven't
> found enough contiguous cycles yet to understand ;)


A single artifact can be multiple types at the same time, so that  
makes implementing such a function difficult.

Maybe look at the object_description() routine in info.c to get some  
ideas.  That routine generates the text that describes an artifact at  
the top of pages like

    
http://www.fossil-scm.org/fossil/artifact/c3a30a6b80e2157db5f3ae526db989367f412117

D. Richard Hipp
[email protected]



_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to