module Darcs.Patch
( RepoPatch
, RepoType
, IsRepoType
, PrimOf
, Named
, WrappedNamed
, Patchy
, fromPrim
, fromPrims
, rmfile
, addfile
, rmdir
, adddir
, move
, hunk
, tokreplace
, namepatch
, anonymous
, binary
, description
, showContextPatch
, showPatch
, showNicely
, infopatch
, changepref
, thing
, things
, primIsAddfile
, primIsHunk
, primIsSetpref
, merge
, commute
, listTouchedFiles
, hunkMatches
, forceTokReplace
, PrimPatch
, resolveConflicts
, Effect
, effect
, primIsBinary
, primIsAdddir
, invert
, invertFL
, invertRL
, commuteFL
, commuteFLorComplain
, commuteRL
, readPatch
, readPatchPartial
, canonize
, sortCoalesceFL
, tryToShrink
, patchname
, patchcontents
, applyToFilePaths
, apply
, applyToTree
, maybeApplyToTree
, effectOnFilePaths
, patch2patchinfo
, summary
, summaryFL
, plainSummary
, xmlSummary
, plainSummaryPrims
, adddeps
, getdeps
, listConflictedFiles
, isInconsistent
) where
import Darcs.Patch.Apply ( applyToFilePaths, effectOnFilePaths, applyToTree,
maybeApplyToTree, ApplyState )
import Darcs.Patch.Commute ( commuteFL, commuteFLorComplain, commuteRL )
import Darcs.Patch.Conflict ( listConflictedFiles, resolveConflicts )
import Darcs.Patch.Effect ( Effect(effect) )
import Darcs.Patch.Invert ( invertRL, invertFL )
import Darcs.Patch.Named ( Named,
adddeps, namepatch,
anonymous,
getdeps,
infopatch,
patch2patchinfo, patchname, patchcontents )
import Darcs.Patch.Named.Wrapped ( WrappedNamed )
import Darcs.Patch.Patchy ( Patchy,
showPatch, showNicely, showContextPatch,
invert,
thing, things,
apply,
description, summary, summaryFL,
commute, listTouchedFiles, hunkMatches
)
import Darcs.Patch.Prim ( fromPrims, fromPrim,
canonize,
sortCoalesceFL,
rmdir, rmfile, tokreplace, adddir, addfile,
binary, changepref, hunk, move,
primIsAdddir, primIsAddfile,
primIsHunk, primIsBinary, primIsSetpref,
tryToShrink,
PrimPatch, PrimPatchBase(..) )
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.Summary ( xmlSummary, plainSummary, plainSummaryPrims )
import Darcs.Patch.TokenReplace ( forceTokReplace )
import Darcs.Patch.V1.Commute ( merge )
import Darcs.Util.Tree( Tree )
instance (Patchy p, ApplyState p ~ Tree) => Patchy (Named p)
instance (Patchy p, ApplyState p ~ Tree) => Patchy (WrappedNamed rt p)