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

Safe Haskell | None
Language | Haskell2010

Darcs.UI.Commands.Pull

Contents

- Commands.
- Utility functions.

Synopsis

- pull :: DarcsCommand [DarcsFlag]
- fetch :: DarcsCommand [DarcsFlag]
- pullCmd :: PatchApplier pa => pa -> (AbsolutePath, AbsolutePath) -> [DarcsFlag] -> [String] -> IO ()
- data StandardPatchApplier
- fetchPatches :: forall rt p wR wU. (IsRepoType rt, RepoPatch p, ApplyState p ~ Tree, ApplyState (PrimOf p) ~ Tree) => AbsolutePath -> [DarcsFlag] -> [String] -> String -> Repository rt p wR wU wR -> IO (SealedPatchSet rt p Origin, Sealed ((FL (PatchInfoAnd rt p) :\/: FL (PatchInfoAnd rt p)) wR))
- revertable :: IO a -> IO a

# Commands.

pull :: DarcsCommand [DarcsFlag] #

fetch :: DarcsCommand [DarcsFlag] #

pullCmd :: PatchApplier pa => pa -> (AbsolutePath, AbsolutePath) -> [DarcsFlag] -> [String] -> IO () #

data StandardPatchApplier #

Instances

PatchApplier StandardPatchApplier # |
Associated Types type ApplierRepoTypeConstraint StandardPatchApplier (rt :: RepoType) :: Constraint # Methods repoJob :: StandardPatchApplier -> [DarcsFlag] -> (forall rt p wR wU. (IsRepoType rt, ApplierRepoTypeConstraint StandardPatchApplier rt, RepoPatch p, (((* -> *) -> *) ~ ApplyState p) Tree, (((* -> *) -> *) ~ ApplyState (PrimOf p)) Tree) => PatchProxy p -> Repository rt p wR wU wR -> IO ()) -> RepoJob () # applyPatches :: (ApplierRepoTypeConstraint StandardPatchApplier rt, IsRepoType rt, RepoPatch p, (((* -> *) -> *) ~ ApplyState (PrimOf p)) Tree, (((* -> *) -> *) ~ ApplyState p) Tree) => StandardPatchApplier -> PatchProxy p -> String -> [DarcsFlag] -> String -> Repository rt p wR wU wT -> FL (PatchInfoAnd rt p) wX wT -> FL (PatchInfoAnd rt p) wX wZ -> IO () #
type ApplierRepoTypeConstraint StandardPatchApplier rt # |
type ApplierRepoTypeConstraint StandardPatchApplier rt = ()

# Utility functions.

fetchPatches :: forall rt p wR wU. (IsRepoType rt, RepoPatch p, ApplyState p ~ Tree, ApplyState (PrimOf p) ~ Tree) => AbsolutePath -> [DarcsFlag] -> [String] -> String -> Repository rt p wR wU wR -> IO (SealedPatchSet rt p Origin, Sealed ((FL (PatchInfoAnd rt p) :\/: FL (PatchInfoAnd rt p)) wR)) #

revertable :: IO a -> IO a #