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.


>
> $ fossil json timeline
> {
>         "fossil":"be6756e26b9c150e9126418cc57a0fbb66079773",
>         "timestamp":1360776126,
>         "resultCode":"FOSSIL-3002",
>         "resultText":"No subcommand specified. Try one of: branch,
> checkin, ticket, wiki",
>         "command":"timeline",
>         "procTimeMs":8
> }
>
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
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