[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Irmin merge question



> I have a question about Irmin merge call back for user-defined contents. It 
> appears that merge is only called for the content that was changed but not 
> added or deleted. Is it possible to have it called for all actions?

It's supposed to be called even when one of the version is added or deleted. In 
that case one of the values will be a None. That's why the merge callback [1] 
takes an option type. Notice that you should not normally have None for all the 
3 elements of the 3-way merge.

Best,
Thomas

[1] http://mirage.github.io/irmin/Irmin.Contents.S.html#VALmerge


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.