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

Safe HaskellNone
LanguageHaskell2010

Darcs.Repository.Clone

Synopsis

Documentation

replacePristine :: Repository rt p wR wU wT -> Tree IO -> IO () Source #

Replace the existing pristine with a new one (loaded up in a Tree object).

writePatchSet :: (IsRepoType rt, RepoPatch p, ApplyState p ~ Tree) => PatchSet rt p Origin wX -> UseCache -> IO (Repository rt p wR wU wT) Source #

writePatchSet is like patchSetToRepository, except that it doesn't touch the working directory or pristine cache.

patchSetToRepository :: (IsRepoType rt, RepoPatch p, ApplyState p ~ Tree) => Repository rt p wR1 wU1 wR1 -> PatchSet rt p Origin wX -> UseCache -> RemoteDarcs -> IO () Source #

patchSetToRepository takes a patch set, and writes a new repository in the current directory that contains all the patches in the patch set. This function is used when 'darcs get'ing a repository with the --to-match flag.