{-# OPTIONS_GHC -fno-warn-orphans #-}
module Darcs.Patch
( RepoType
, IsRepoType
, PrimPatchBase(..)
, Named
, ApplyState
, rmfile
, addfile
, rmdir
, adddir
, move
, hunk
, tokreplace
, anonymous
, binary
, description
, showContextPatch
, ShowPatchFor(..)
, showPatch
, displayPatch
, content
, infopatch
, changepref
, thing
, things
, primIsAddfile
, primIsHunk
, primIsSetpref
, merge
, commute
, listTouchedFiles
, hunkMatches
, forceTokReplace
, PrimPatch
, resolveConflicts
, Effect
, effect
, primIsBinary
, primIsAdddir
, invert
, invertFL
, invertRL
, dropInverses
, commuteFL
, commuteRL
, readPatch
, readPatchPartial
, canonize
, sortCoalesceFL
, tryToShrink
, patchname
, patchcontents
, apply
, applyToTree
, maybeApplyToTree
, effectOnPaths
, patch2patchinfo
, summary
, summaryFL
, plainSummary
, xmlSummary
, plainSummaryPrims
, adddeps
, getdeps
, listConflictedFiles
, isInconsistent
, module Darcs.Patch.RepoPatch
) where
import Darcs.Patch.Apply ( apply, effectOnPaths, applyToTree,
maybeApplyToTree, ApplyState )
import Darcs.Patch.Commute ( commute, commuteFL, commuteRL )
import Darcs.Patch.Conflict ( resolveConflicts )
import Darcs.Patch.Effect ( Effect(effect) )
import Darcs.Patch.Invert ( invert, invertRL, invertFL, dropInverses )
import Darcs.Patch.Inspect ( listTouchedFiles, hunkMatches )
import Darcs.Patch.Merge ( merge )
import Darcs.Patch.Named ( Named,
adddeps,
anonymous,
getdeps,
infopatch,
patch2patchinfo, patchname, patchcontents )
import Darcs.Patch.FromPrim ( PrimPatchBase(..) )
import Darcs.Patch.Prim ( canonize,
sortCoalesceFL,
rmdir, rmfile, tokreplace, adddir, addfile,
binary, changepref, hunk, move,
primIsAdddir, primIsAddfile,
primIsHunk, primIsBinary, primIsSetpref,
tryToShrink,
PrimPatch )
import Darcs.Patch.Read ( readPatch, readPatchPartial )
import Darcs.Patch.Repair ( isInconsistent )
import Darcs.Patch.RepoPatch ( RepoPatch )
import Darcs.Patch.RepoType ( RepoType, IsRepoType )
import Darcs.Patch.Show ( description, showPatch, content, displayPatch
, summary, summaryFL, thing, things, ShowPatchFor(..), ShowContextPatch(..) )
import Darcs.Patch.Summary
( listConflictedFiles
, xmlSummary
, plainSummary
, plainSummaryPrims
)
import Darcs.Patch.TokenReplace ( forceTokReplace )