Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- announceFiles :: Verbosity -> Maybe [AnchoredPath] -> String -> IO ()
- filterExistingPaths :: (RepoPatch p, ApplyState p ~ Tree) => Repository rt p wR wU wR -> Verbosity -> UseIndex -> ScanKnown -> LookForMoves -> [AnchoredPath] -> IO ([AnchoredPath], [AnchoredPath])
- testTentativeAndMaybeExit :: Repository rt p wR wU wT -> Verbosity -> TestChanges -> SetScriptsExecutable -> Bool -> String -> String -> Maybe String -> IO ()
- printDryRunMessageAndExit :: RepoPatch p => String -> Verbosity -> WithSummary -> DryRun -> XmlOutput -> Bool -> FL (PatchInfoAnd rt p) wX wY -> IO ()
- getUniqueRepositoryName :: Bool -> FilePath -> IO FilePath
- getUniqueDPatchName :: FilePath -> IO FilePath
- doesDirectoryReallyExist :: FilePath -> IO Bool
- checkUnrelatedRepos :: RepoPatch p => Bool -> PatchSet rt p Origin wX -> PatchSet rt p Origin wY -> IO ()
- preselectPatches :: (IsRepoType rt, RepoPatch p) => [DarcsFlag] -> Repository rt p wR wU wT -> IO ((PatchSet rt p :> FL (PatchInfoAnd rt p)) Origin wR)
- getLastPatches :: RepoPatch p => [MatchFlag] -> PatchSet rt p Origin wR -> (PatchSet rt p :> FL (PatchInfoAnd rt p)) Origin wR
- matchRange :: MatchableRP p => [MatchFlag] -> PatchSet rt p Origin wY -> Sealed2 (FL (PatchInfoAnd rt p))
- historyEditHelp :: Doc
Documentation
announceFiles :: Verbosity -> Maybe [AnchoredPath] -> String -> IO () Source #
filterExistingPaths :: (RepoPatch p, ApplyState p ~ Tree) => Repository rt p wR wU wR -> Verbosity -> UseIndex -> ScanKnown -> LookForMoves -> [AnchoredPath] -> IO ([AnchoredPath], [AnchoredPath]) Source #
Given a repository and two common command options, classify the given list of paths according to whether they exist in the pristine or working tree. Paths which are neither in working nor pristine are reported and dropped. The result is a pair of path lists: those that exist only in the working tree, and those that exist in pristine or working.
testTentativeAndMaybeExit :: Repository rt p wR wU wT -> Verbosity -> TestChanges -> SetScriptsExecutable -> Bool -> String -> String -> Maybe String -> IO () Source #
printDryRunMessageAndExit :: RepoPatch p => String -> Verbosity -> WithSummary -> DryRun -> XmlOutput -> Bool -> FL (PatchInfoAnd rt p) wX wY -> IO () Source #
prints a string
representing the action that would be taken if the printDryRunMessageAndExit
action flags patches--dry-run
option had
not been passed to darcs. Then darcs exits successfully. action
is the
name of the action being taken, like "push"
flags
is the list of flags
which were sent to darcs patches
is the sequence of patches which would be
touched by action
.
checkUnrelatedRepos :: RepoPatch p => Bool -> PatchSet rt p Origin wX -> PatchSet rt p Origin wY -> IO () Source #
preselectPatches :: (IsRepoType rt, RepoPatch p) => [DarcsFlag] -> Repository rt p wR wU wT -> IO ((PatchSet rt p :> FL (PatchInfoAnd rt p)) Origin wR) Source #
getLastPatches :: RepoPatch p => [MatchFlag] -> PatchSet rt p Origin wR -> (PatchSet rt p :> FL (PatchInfoAnd rt p)) Origin wR Source #
matchRange :: MatchableRP p => [MatchFlag] -> PatchSet rt p Origin wY -> Sealed2 (FL (PatchInfoAnd rt p)) Source #