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

Safe Haskell | Safe-Inferred
Language | Haskell2010

Darcs.UI.Commands.Pull

Contents

- Commands.
- Utility functions.

Synopsis

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

# Commands.

pull :: DarcsCommand #

fetch :: DarcsCommand #

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

data StandardPatchApplier #

#### Instances

Instances details

PatchApplier StandardPatchApplier # |
Instance details Defined in Darcs.UI.ApplyPatches Associated Types type ApplierRepoTypeConstraint StandardPatchApplier rt # Methods repoJob :: StandardPatchApplier -> (forall (rt :: RepoType) (p :: Type -> Type -> Type) wR wU. (IsRepoType rt, ApplierRepoTypeConstraint StandardPatchApplier rt, RepoPatch p, ApplyState p ~ Tree) => PatchProxy p -> Repository rt p wR wU wR -> IO ()) -> RepoJob () # applyPatches :: forall (rt :: RepoType) (p :: Type -> Type -> Type) wR wU wZ. (ApplierRepoTypeConstraint StandardPatchApplier rt, IsRepoType rt, RepoPatch p, ApplyState p ~ Tree) => StandardPatchApplier -> PatchProxy p -> String -> [DarcsFlag] -> Repository rt p wR wU wR -> Fork (PatchSet rt p) (FL (PatchInfoAnd rt p)) (FL (PatchInfoAnd rt p)) Origin wR wZ -> IO () #
type ApplierRepoTypeConstraint StandardPatchApplier rt # |
Instance details Defined in Darcs.UI.ApplyPatches type ApplierRepoTypeConstraint StandardPatchApplier rt = ()

# Utility functions.

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