On Wed, Feb 29, 2012 at 10:20 PM, Stephan Beal <sgb...@googlemail.com>wrote:
> On Wed, Feb 29, 2012 at 9:23 PM, Brian Smith <br...@linuxfood.net> wrote: > >> I think the only appropriate response is "Oh snap". >> > > Indeed! How does this look: > i got tired of waiting ;) and went ahead with: a) removed "parentUuid" b) defined the first element in the "parents" array to be the primary parent. stephan@tiny:~/cvs/fossil/fossil/src$ f json timeline ci -n 1 -I 2 { "fossil":"ef561ed0a56a45a23ebf4f1cef6abbed8c98d38d", "timestamp":1330551627, "command":"timeline/ci", "procTimeMs":16, "payload":{ "limit":1, "timeline":[{ "type":"checkin", "uuid":"0c9c99b83f936b44fd6c5d0ee5a308b48097e99f", "isLeaf":true, "user":"stephan", "comment":"/json/timeline/checkin: changed response payload to include \"parents\" array property with UUIDs of all parents, removing the parentUuid property which just referenced the primary parent. The first parent in the array is the primary parent. Thanks go to Brian Smith for catching this oversight.", "mtime":1330551559, "parents":["ef561ed0a56a45a23ebf4f1cef6abbed8c98d38d"], "tags":["trunk"] }] } } Documenting that change revealed a happy accident: parentUuid was (by accident) not a documented property, so i'm "not too likely" to be breaking someone's script code with this change. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users