Thanks for the speedy reply. I our use case involves using fossil cli to gather these pieces. We were hoping to move our dependency to hopefully a more stable json output. right now were doing creative cuts and splits with the output.
while doing fossil status, we have to catch stderr to check for the message 'not within an open checkout' On Wed, Feb 13, 2013 at 10:30 AM, Richard Hipp <[email protected]> wrote: > > > On Wed, Feb 13, 2013 at 12:24 PM, Pirate Fibonacci <[email protected] > > wrote: > >> I currently do fossil timeline, I parse the output to get CURRENT hash >> >> the json timeline appears to not be implemented ?? what is the best >> method to get the current hash ? >> > > The "current" version is a function of the check-out, not of the > repository. With Fossil, the same repository can and often does have > multiple check-outs and hence can have multiple "current" versions. > Yes, I agree that there are multiple current versions. Maybe a branch needs to be passed in to get the current for a branch? json output of branch shows which is the current branch. until current is available in json, I must continue to maintain my output parsing code base. thanks,
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

