ContentsIndex
Darcs.Repository
Synopsis
createRepository :: [DarcsFlag] -> IO ()
copyRepository :: RepoPatch p => Repository p -> IO ()
data PorNP
= NotPartial
| IsPartial
data RepoSort
= Hashed
| Old
copyInventory :: forall p. RepoPatch p => Repository p -> IO ()
copy_oldrepo_patches :: RepoPatch p => [DarcsFlag] -> Repository p -> FilePath -> IO ()
copyPartialRepository :: forall p. RepoPatch p => Repository p -> IO PorNP
copyFullRepository :: forall p. RepoPatch p => Repository p -> IO ()
writePatchSet :: RepoPatch p => PatchSet p -> [DarcsFlag] -> IO (Repository p)
patchSetToRepository :: RepoPatch p => Repository p -> PatchSet p -> [DarcsFlag] -> IO (Repository p)
checkUnrelatedRepos :: [DarcsFlag] -> [PatchInfo] -> PatchSet p -> PatchSet p -> IO ()
fetch_patches_if_necessary :: RepoPatch p => [DarcsFlag] -> Repository p -> IO ()
Documentation
createRepository :: [DarcsFlag] -> IO ()
copyRepository :: RepoPatch p => Repository p -> IO ()
data PorNP
Constructors
NotPartial
IsPartial
show/hide Instances
data RepoSort
Constructors
Hashed
Old
copyInventory :: forall p. RepoPatch p => Repository p -> IO ()
copy_oldrepo_patches :: RepoPatch p => [DarcsFlag] -> Repository p -> FilePath -> IO ()
copyPartialRepository :: forall p. RepoPatch p => Repository p -> IO PorNP
copyFullRepository :: forall p. RepoPatch p => Repository p -> IO ()
writePatchSet :: RepoPatch p => PatchSet p -> [DarcsFlag] -> IO (Repository p)
writePatchSet is like patchSetToRepository, except that it doesn't touch the working directory or pristine cache.
patchSetToRepository :: RepoPatch p => Repository p -> PatchSet p -> [DarcsFlag] -> IO (Repository p)
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 and the new repository is not in hashed format. This function does not (yet) work for hashed repositories. If the passed DarcsFlags tell darcs to create a hashed repository, this function will call error.
checkUnrelatedRepos :: [DarcsFlag] -> [PatchInfo] -> PatchSet p -> PatchSet p -> IO ()
fetch_patches_if_necessary :: RepoPatch p => [DarcsFlag] -> Repository p -> IO ()
Unless a flag has been given in the first argument that tells darcs not to do so (--lazy, --partial or --ephemeral), this function fetches all patches that the given repository has with fetchFileUsingCache. This is used as a helper in copyFullRepository.
Produced by Haddock version 2.4.2