darcs-2.11.0: a distributed, interactive, smart revision control system

Safe HaskellNone

Darcs.UI.ApplyPatches

Synopsis

Documentation

class PatchApplier pa where

This class is a hack to abstract over pullapply and rebase pullapply.

Associated Types

type ApplierRepoTypeConstraint pa rt :: Constraint

Methods

repoJob :: pa -> [DarcsFlag] -> (forall rt p wR wU. (IsRepoType rt, ApplierRepoTypeConstraint pa rt, RepoPatch p, ApplyState p ~ Tree, ApplyState (PrimOf p) ~ Tree) => PatchProxy p -> Repository rt p wR wU wR -> IO ()) -> RepoJob ()

applyPatches :: forall rt p wR wU wT wX wZ. (ApplierRepoTypeConstraint pa rt, IsRepoType rt, RepoPatch p, ApplyState (PrimOf p) ~ Tree, ApplyState p ~ Tree) => pa -> PatchProxy p -> String -> [DarcsFlag] -> String -> Repository rt p wR wU wT -> FL (PatchInfoAnd rt p) wX wT -> FL (PatchInfoAnd rt p) wX wZ -> IO ()

data PatchProxy p

Constructors

PatchProxy