Login
Artifact [0008b2d085]
Login

Artifact 0008b2d0851bac4c85ad8d1529d7a6ce61e88e92:


/**
   require() plugin which returns a handle to the repo Db object for
   Fossil.require's shared Fossil.Context.  If no checkout has been
   opened when this is called, openCheckout() is called on the
   context, otherwise there are no side effects.
*/
return requireS2(['fsl/context'], proc(F){
    affirm const d = F.db;
    if(!d.checkout){
        F.openCheckout();
    }
    affirm d.checkout;
    return d.checkout;
});