On 5/17/16, John P. Rouillard <rouilj+fos...@cs.umb.edu> wrote:
>
> Is there an expand(content) or something that I
> could use?
>

Use the "content()" SQL function to decode the blobs.  The argument is
any symbolic name (like a prefix of the SHA1 hash).  Example:

     SELECT content('trunk');

Returns the complete text of the check-in artifact for the trunk check-in.

To find the files in a check-in use the files_of_checkin virtual table:

    SELECT * FROM files_of_checkin WHERE
checkinid=symbolic_name_to_rid('trunk');


-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to