On Sat, 26 May 2012 18:02:41 -0500
Brian Smith <[email protected]> wrote:
> Another way, just to add to the list:
>
> echo -e ".mode csv\nselect uuid from event, blob where
> event.objid=blob.rid and type='ci' and mtime >
> julianday('2012-05-27');" | fsl sqlite
>
> -B
>
>
> On Sat, May 26, 2012 at 5:51 PM, Stephan Beal <[email protected]>
> wrote:
>
> > On Sun, May 27, 2012 at 12:49 AM, Stephan Beal
> > <[email protected]>wrote:
> >
> >> [stephan@host:~/cvs/fossil/fossil]$ f json timeline checkin -b
> >> 2012-05-27 -I 1 | awk -F : '/"uuid":/{print $2}' | cut -d'"' -f2
> >>
> >>
> > Slightly more succinct, but should work the same:
> >
> > f json timeline checkin -b 2012-05-27 -I 2 | grep '"uuid"' | cut
> > -d'"' -f4
Thanks to all who replied.
I've settled on the SQL solution above. The version of fossil I'm using
doesn't have JSON enabled. I did originally attempt an SQL solution but
after having looked at the documentation on the site, I didn't think
it'd be as straightforward as a single SELECT - turns out that it is!
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users