fixup! fixup! erp5.util.testnode: tell SR to clone in shared mode

checkRevision now returns a callable, return a do-nothing lambda when
the expected revision is already checked out

/reviewed-on !990
1 job for fix/persistent__repr__
in 0 seconds, using 0 compute credits, and was queued for 0 seconds