darcs

Darcs.Flags

Synopsis

- data DarcsFlag
  - = Help
  - | ListOptions
  - | NoTest
  - | Test
  - | OnlyChangesToFiles
  - | ChangesToAllFiles
  - | LeaveTestDir
  - | NoLeaveTestDir
  - | Timings
  - | Debug
  - | DebugVerbose
  - | DebugHTTP
  - | Verbose
  - | NormalVerbosity
  - | Quiet
  - | Target String
  - | Cc String
  - | Output AbsolutePathOrStd
  - | OutputAutoName AbsolutePath
  - | Subject String
  - | InReplyTo String
  - | SendmailCmd String
  - | Author String
  - | PatchName String
  - | OnePatch String
  - | SeveralPatch String
  - | AfterPatch String
  - | UpToPatch String
  - | TagName String
  - | LastN Int
  - | MaxCount Int
  - | PatchIndexRange Int Int
  - | NumberPatches
  - | OneTag String
  - | AfterTag String
  - | UpToTag String
  - | Context AbsolutePath
  - | Count
  - | LogFile AbsolutePath
  - | RmLogFile
  - | DontRmLogFile
  - | DistName String
  - | All
  - | Recursive
  - | NoRecursive
  - | Reorder
  - | RestrictPaths
  - | DontRestrictPaths
  - | AskDeps
  - | NoAskDeps
  - | IgnoreTimes
  - | DontIgnoreTimes
  - | LookForAdds
  - | NoLookForAdds
  - | AnyOrder
  - | CreatorHash String
  - | Intersection
  - | Union
  - | Complement
  - | Sign
  - | SignAs String
  - | NoSign
  - | SignSSL String
  - | HappyForwarding
  - | NoHappyForwarding
  - | Verify AbsolutePath
  - | VerifySSL AbsolutePath
  - | SSHControlMaster
  - | NoSSHControlMaster
  - | RemoteDarcs String
  - | EditDescription
  - | NoEditDescription
  - | Toks String
  - | EditLongComment
  - | NoEditLongComment
  - | PromptLongComment
  - | KeepDate
  - | NoKeepDate
  - | AllowConflicts
  - | MarkConflicts
  - | NoAllowConflicts
  - | SkipConflicts
  - | Boring
  - | SkipBoring
  - | AllowCaseOnly
  - | DontAllowCaseOnly
  - | AllowWindowsReserved
  - | DontAllowWindowsReserved
  - | DontGrabDeps
  - | DontPromptForDependencies
  - | PromptForDependencies
  - | Compress
  - | NoCompress
  - | UnCompress
  - | WorkRepoDir String
  - | WorkRepoUrl String
  - | RemoteRepo String
  - | NewRepo String
  - | Reply String
  - | ApplyAs String
  - | MachineReadable
  - | HumanReadable
  - | Pipe
  - | Interactive
  - | DiffCmd String
  - | ExternalMerge String
  - | Summary
  - | NoSummary
  - | Unified
  - | NonUnified
  - | Reverse
  - | Forward
  - | Partial
  - | Complete
  - | Lazy
  - | Ephemeral
  - | FixFilePath AbsolutePath AbsolutePath
  - | DiffFlags String
  - | XMLOutput
  - | ForceReplace
  - | OnePattern PatchMatch
  - | SeveralPattern PatchMatch
  - | AfterPattern PatchMatch
  - | UpToPattern PatchMatch
  - | NonApply
  - | NonVerify
  - | NonForce
  - | DryRun
  - | SetDefault Bool
  - | NoSetDefault Bool
  - | FancyMoveAdd
  - | NoFancyMoveAdd
  - | Disable
  - | SetScriptsExecutable
  - | DontSetScriptsExecutable
  - | Bisect
  - | UseHashedInventory
  - | UseOldFashionedInventory
  - | UseFormat2
  - | PristinePlain
  - | PristineNone
  - | NoUpdateWorking
  - | Sibling AbsolutePath
  - | Relink
  - | RelinkPristine
  - | NoLinks
  - | OptimizePristine
  - | OptimizeHTTP
  - | UpgradeFormat
  - | Files
  - | NoFiles
  - | Directories
  - | NoDirectories
  - | Pending
  - | NoPending
  - | PosthookCmd String
  - | NoPosthook
  - | AskPosthook
  - | RunPosthook
  - | PrehookCmd String
  - | NoPrehook
  - | AskPrehook
  - | RunPrehook
  - | UMask String
  - | StoreInMemory
  - | ApplyOnDisk
  - | NoHTTPPipelining
  - | NoCache
  - | AllowUnrelatedRepos
  - | Check
  - | Repair
  - | JustThisRepo
  - | NullFlag
- data Compression
  - = NoCompression
  - | GzipCompression
- compression :: [DarcsFlag] -> Compression
- wantExternalMerge :: [DarcsFlag] -> Maybe String
- isInteractive :: [DarcsFlag] -> Bool
- maxCount :: [DarcsFlag] -> Maybe Int
- willIgnoreTimes :: [DarcsFlag] -> Bool
- willRemoveLogFile :: [DarcsFlag] -> Bool
- isUnified :: [DarcsFlag] -> Bool
- willStoreInMemory :: [DarcsFlag] -> Bool
- doHappyForwarding :: [DarcsFlag] -> Bool
- includeBoring :: [DarcsFlag] -> Bool
- doAllowCaseOnly :: [DarcsFlag] -> Bool
- doAllowWindowsReserved :: [DarcsFlag] -> Bool
- doReverse :: [DarcsFlag] -> Bool
- showChangesOnlyToFiles :: [DarcsFlag] -> Bool
- defaultFlag :: [DarcsFlag] -> DarcsFlag -> [DarcsFlag] -> [DarcsFlag]

# Documentation

data DarcsFlag

The `DarcsFlag` type is a list of all flags that can ever be passed to darcs, or to one of its commands.

Constructors

Help |
ListOptions |
NoTest |
Test |
OnlyChangesToFiles |
ChangesToAllFiles |
LeaveTestDir |
NoLeaveTestDir |
Timings |
Debug |
DebugVerbose |
DebugHTTP |
Verbose |
NormalVerbosity |
Quiet |
Target String |
Cc String |
Output AbsolutePathOrStd |
OutputAutoName AbsolutePath |
Subject String |
InReplyTo String |
SendmailCmd String |
Author String |
PatchName String |
OnePatch String |
SeveralPatch String |
AfterPatch String |
UpToPatch String |
TagName String |
LastN Int |
MaxCount Int |
PatchIndexRange Int Int |
NumberPatches |
OneTag String |
AfterTag String |
UpToTag String |
Context AbsolutePath |
Count |
LogFile AbsolutePath |
RmLogFile |
DontRmLogFile |
DistName String |
All |
Recursive |
NoRecursive |
Reorder |
RestrictPaths |
DontRestrictPaths |
AskDeps |
NoAskDeps |
IgnoreTimes |
DontIgnoreTimes |
LookForAdds |
NoLookForAdds |
AnyOrder |
CreatorHash String |
Intersection |
Union |
Complement |
Sign |
SignAs String |
NoSign |
SignSSL String |
HappyForwarding |
NoHappyForwarding |
Verify AbsolutePath |
VerifySSL AbsolutePath |
SSHControlMaster |
NoSSHControlMaster |
RemoteDarcs String |
EditDescription |
NoEditDescription |
Toks String |
EditLongComment |
NoEditLongComment |
PromptLongComment |
KeepDate |
NoKeepDate |
AllowConflicts |
MarkConflicts |
NoAllowConflicts |
SkipConflicts |
Boring |
SkipBoring |
AllowCaseOnly |
DontAllowCaseOnly |
AllowWindowsReserved |
DontAllowWindowsReserved |
DontGrabDeps |
DontPromptForDependencies |
PromptForDependencies |
Compress |
NoCompress |
UnCompress |
WorkRepoDir String |
WorkRepoUrl String |
RemoteRepo String |
NewRepo String |
Reply String |
ApplyAs String |
MachineReadable |
HumanReadable |
Pipe |
Interactive |
DiffCmd String |
ExternalMerge String |
Summary |
NoSummary |
Unified |
NonUnified |
Reverse |
Forward |
Partial |
Complete |
Lazy |
Ephemeral |
FixFilePath AbsolutePath AbsolutePath |
DiffFlags String |
XMLOutput |
ForceReplace |
OnePattern PatchMatch |
SeveralPattern PatchMatch |
AfterPattern PatchMatch |
UpToPattern PatchMatch |
NonApply |
NonVerify |
NonForce |
DryRun |
SetDefault Bool |
NoSetDefault Bool |
FancyMoveAdd |
NoFancyMoveAdd |
Disable |
SetScriptsExecutable |
DontSetScriptsExecutable |
Bisect |
UseHashedInventory |
UseOldFashionedInventory |
UseFormat2 |
PristinePlain |
PristineNone |
NoUpdateWorking |
Sibling AbsolutePath |
Relink |
RelinkPristine |
NoLinks |
OptimizePristine |
OptimizeHTTP |
UpgradeFormat |
Files |
NoFiles |
Directories |
NoDirectories |
Pending |
NoPending |
PosthookCmd String |
NoPosthook |
AskPosthook |
RunPosthook |
PrehookCmd String |
NoPrehook |
AskPrehook |
RunPrehook |
UMask String |
StoreInMemory |
ApplyOnDisk |
NoHTTPPipelining |
NoCache |
AllowUnrelatedRepos |
Check |
Repair |
JustThisRepo |
NullFlag |

Instances

Eq DarcsFlag |
Show DarcsFlag |

data Compression

Constructors

NoCompression |
GzipCompression |

compression :: [DarcsFlag] -> Compression

wantExternalMerge :: [DarcsFlag] -> Maybe String

isInteractive :: [DarcsFlag] -> Bool

maxCount :: [DarcsFlag] -> Maybe Int

willIgnoreTimes :: [DarcsFlag] -> Bool

willRemoveLogFile :: [DarcsFlag] -> Bool

isUnified :: [DarcsFlag] -> Bool

willStoreInMemory :: [DarcsFlag] -> Bool

doHappyForwarding :: [DarcsFlag] -> Bool

includeBoring :: [DarcsFlag] -> Bool

doAllowCaseOnly :: [DarcsFlag] -> Bool

doAllowWindowsReserved :: [DarcsFlag] -> Bool

doReverse :: [DarcsFlag] -> Bool

showChangesOnlyToFiles :: [DarcsFlag] -> Bool

defaultFlag

Arguments

:: [DarcsFlag] | distractors
-> DarcsFlag | default
-> [DarcsFlag] | flags
-> [DarcsFlag] | updated flags

Set flags to a default value, but only one has not already been provided