<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Darcs.Repository.Internal</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ><SCRIPT TYPE="text/javascript" >window.onload = function () {setSynopsis("mini_Darcs-Repository-Internal.html")};</SCRIPT ></HEAD ><BODY ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="topbar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" " ></TD ><TD CLASS="title" >darcs-2.4.4: a distributed, interactive, smart revision control system</TD ><TD CLASS="topbut" ><A HREF="index.html" >Contents</A ></TD ><TD CLASS="topbut" ><A HREF="doc-index.html" >Index</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="modulebar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><FONT SIZE="6" >Darcs.Repository.Internal</FONT ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Synopsis</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="#t%3ARepository" >Repository</A > p = <A HREF="#v%3ARepo" >Repo</A > !<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > ![<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] !<A HREF="Darcs-Repository-Format.html#t%3ARepoFormat" >RepoFormat</A > !(<A HREF="Darcs-Repository-Internal.html#t%3ARepoType" >RepoType</A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="#t%3ARepoType" >RepoType</A > p = <A HREF="#v%3ADarcsRepository" >DarcsRepository</A > !<A HREF="Darcs-Repository-InternalTypes.html#t%3APristine" >Pristine</A > <A HREF="Darcs-Repository-Cache.html#t%3ACache" >Cache</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="#t%3ARIO" >RIO</A > p a</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3A%24-" >($-)</A > :: ((<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> (<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AmaybeIdentifyRepository" >maybeIdentifyRepository</A > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Either.html#t%3AEither" >Either</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > (<A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p))</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AidentifyDarcs1Repository" >identifyDarcs1Repository</A > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > <A HREF="Darcs-Patch-Core.html#t%3APatch" >Patch</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AidentifyRepositoryFor" >identifyRepositoryFor</A > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AfindRepository" >findRepository</A > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Either.html#t%3AEither" >Either</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AamInRepository" >amInRepository</A > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Either.html#t%3AEither" >Either</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AamNotInRepository" >amNotInRepository</A > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Either.html#t%3AEither" >Either</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Aslurp_pending" >slurp_pending</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy" >Slurpy</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3ArevertRepositoryChanges" >revertRepositoryChanges</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Aslurp_recorded" >slurp_recorded</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy" >Slurpy</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Aslurp_recorded_and_unrecorded" >slurp_recorded_and_unrecorded</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy" >Slurpy</A >, <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy" >Slurpy</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Aannounce_merge_conflicts" >announce_merge_conflicts</A > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AsetTentativePending" >setTentativePending</A > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Acheck_unrecorded_conflicts" >check_unrecorded_conflicts</A > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AwithRecorded" >withRecorded</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> ((<A HREF="Darcs-RepoPath.html#t%3AAbsolutePath" >AbsolutePath</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> (<A HREF="Darcs-RepoPath.html#t%3AAbsolutePath" >AbsolutePath</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Aread_repo" >read_repo</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Repository-Internal.html#t%3APatchSet" >PatchSet</A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AprefsUrl" >prefsUrl</A > :: <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AmakePatchLazy" >makePatchLazy</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AwithRepoLock" >withRepoLock</A > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> (<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AwithRepoReadLock" >withRepoReadLock</A > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> (<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AwithRepository" >withRepository</A > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> (<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AwithRepositoryDirectory" >withRepositoryDirectory</A > :: <SPAN CLASS="keyword" >forall</SPAN > a. [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> (<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AwithGutsOf" >withGutsOf</A > :: <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtentativelyAddPatch" >tentativelyAddPatch</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtentativelyRemovePatches" >tentativelyRemovePatches</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtentativelyAddToPending" >tentativelyAddToPending</A > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtentativelyAddPatch_" >tentativelyAddPatch_</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3AUpdatePristine" >UpdatePristine</A > -> <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtentativelyReplacePatches" >tentativelyReplacePatches</A > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AfinalizeRepositoryChanges" >finalizeRepositoryChanges</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AunrevertUrl" >unrevertUrl</A > :: <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AapplyToWorking" >applyToWorking</A > :: <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p1 -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3ApatchSetToPatches" >patchSetToPatches</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)) -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcreatePristineDirectoryTree" >createPristineDirectoryTree</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcreatePartialsPristineDirectoryTree" >createPartialsPristineDirectoryTree</A > :: (<A HREF="Darcs-RepoPath.html#t%3AFilePathLike" >FilePathLike</A > fp, <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p) => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [fp] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AoptimizeInventory" >optimizeInventory</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcleanRepository" >cleanRepository</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AgetMarkedupFile" >getMarkedupFile</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Patch-Info.html#t%3APatchInfo" >PatchInfo</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="Darcs-Patch-Apply.html#t%3AMarkedUpFile" >MarkedUpFile</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="#t%3APatchSet" >PatchSet</A > p = <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p))</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="#t%3ASealedPatchSet" >SealedPatchSet</A > p = <A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)))</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AsetScriptsExecutable" >setScriptsExecutable</A > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AgetRepository" >getRepository</A > :: <A HREF="Darcs-Repository-Internal.html#t%3ARIO" >RIO</A > p (<A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3ArIO" >rIO</A > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a -> <A HREF="Darcs-Repository-Internal.html#t%3ARIO" >RIO</A > p a</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtestTentative" >testTentative</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtestRecorded" >testRecorded</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="#t%3AUpdatePristine" >UpdatePristine</A > </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" >= <A HREF="#v%3AUpdatePristine" >UpdatePristine</A ></TD ></TR ><TR ><TD CLASS="decl" >| <A HREF="#v%3ADontUpdatePristine" >DontUpdatePristine</A ></TD ></TR ></TABLE ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="#t%3AMakeChanges" >MakeChanges</A > </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" >= <A HREF="#v%3AMakeChanges" >MakeChanges</A ></TD ></TR ><TR ><TD CLASS="decl" >| <A HREF="#v%3ADontMakeChanges" >DontMakeChanges</A ></TD ></TR ></TABLE ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AapplyToTentativePristine" >applyToTentativePristine</A > :: (<A HREF="Darcs-Patch-Prim.html#t%3AEffect" >Effect</A > q, <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > q) => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> q -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Amake_new_pending" >make_new_pending</A > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Documentation</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:Repository" ><A NAME="t%3ARepository" ></A ></A ><B >Repository</B > p </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" >Constructors</TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="arg" ><A NAME="v:Repo" ><A NAME="v%3ARepo" ></A ></A ><B >Repo</B > !<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > ![<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] !<A HREF="Darcs-Repository-Format.html#t%3ARepoFormat" >RepoFormat</A > !(<A HREF="Darcs-Repository-Internal.html#t%3ARepoType" >RepoType</A > p)</TD ><TD CLASS="rdoc" ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Repository')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:Repository" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Text-Show.html#t%3AShow" >Show</A > (<A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p)</TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:RepoType" ><A NAME="t%3ARepoType" ></A ></A ><B >RepoType</B > p </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" >Constructors</TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="arg" ><A NAME="v:DarcsRepository" ><A NAME="v%3ADarcsRepository" ></A ></A ><B >DarcsRepository</B > !<A HREF="Darcs-Repository-InternalTypes.html#t%3APristine" >Pristine</A > <A HREF="Darcs-Repository-Cache.html#t%3ACache" >Cache</A ></TD ><TD CLASS="rdoc" ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:RepoType')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:RepoType" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Text-Show.html#t%3AShow" >Show</A > (<A HREF="Darcs-Repository-Internal.html#t%3ARepoType" >RepoType</A > p)</TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:RIO" ><A NAME="t%3ARIO" ></A ></A ><B >RIO</B > p a </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="ndoc" >Repository IO monad. This monad-like datatype is responsible for sequencing IO actions that modify the tentative recorded state of the repository. </TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:RIO')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:RIO" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Control-Monad.html#t%3AMonad" >Monad</A > (<A HREF="Darcs-Repository-Internal.html#t%3ARIO" >RIO</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Control-Monad.html#t%3AFunctor" >Functor</A > (<A HREF="Darcs-Repository-Internal.html#t%3ARIO" >RIO</A > p)</TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:$-" ><A NAME="v%3A%24-" ></A ></A ><B >($-)</B > :: ((<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> (<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:maybeIdentifyRepository" ><A NAME="v%3AmaybeIdentifyRepository" ></A ></A ><B >maybeIdentifyRepository</B > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Either.html#t%3AEither" >Either</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > (<A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p))</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:identifyDarcs1Repository" ><A NAME="v%3AidentifyDarcs1Repository" ></A ></A ><B >identifyDarcs1Repository</B > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > <A HREF="Darcs-Patch-Core.html#t%3APatch" >Patch</A >)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:identifyRepositoryFor" ><A NAME="v%3AidentifyRepositoryFor" ></A ></A ><B >identifyRepositoryFor</B > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:findRepository" ><A NAME="v%3AfindRepository" ></A ></A ><B >findRepository</B > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Either.html#t%3AEither" >Either</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:amInRepository" ><A NAME="v%3AamInRepository" ></A ></A ><B >amInRepository</B > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Either.html#t%3AEither" >Either</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:amNotInRepository" ><A NAME="v%3AamNotInRepository" ></A ></A ><B >amNotInRepository</B > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Either.html#t%3AEither" >Either</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:slurp_pending" ><A NAME="v%3Aslurp_pending" ></A ></A ><B >slurp_pending</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy" >Slurpy</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:revertRepositoryChanges" ><A NAME="v%3ArevertRepositoryChanges" ></A ></A ><B >revertRepositoryChanges</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:slurp_recorded" ><A NAME="v%3Aslurp_recorded" ></A ></A ><B >slurp_recorded</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy" >Slurpy</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:slurp_recorded_and_unrecorded" ><A NAME="v%3Aslurp_recorded_and_unrecorded" ></A ></A ><B >slurp_recorded_and_unrecorded</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy" >Slurpy</A >, <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy" >Slurpy</A >)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:announce_merge_conflicts" ><A NAME="v%3Aannounce_merge_conflicts" ></A ></A ><B >announce_merge_conflicts</B > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:setTentativePending" ><A NAME="v%3AsetTentativePending" ></A ></A ><B >setTentativePending</B > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="doc" >setTentativePending is basically unsafe. It overwrites the pending state with a new one, not related to the repository state. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:check_unrecorded_conflicts" ><A NAME="v%3Acheck_unrecorded_conflicts" ></A ></A ><B >check_unrecorded_conflicts</B > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:withRecorded" ><A NAME="v%3AwithRecorded" ></A ></A ><B >withRecorded</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> ((<A HREF="Darcs-RepoPath.html#t%3AAbsolutePath" >AbsolutePath</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> (<A HREF="Darcs-RepoPath.html#t%3AAbsolutePath" >AbsolutePath</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:read_repo" ><A NAME="v%3Aread_repo" ></A ></A ><B >read_repo</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Repository-Internal.html#t%3APatchSet" >PatchSet</A > p)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:prefsUrl" ><A NAME="v%3AprefsUrl" ></A ></A ><B >prefsUrl</B > :: <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:makePatchLazy" ><A NAME="v%3AmakePatchLazy" ></A ></A ><B >makePatchLazy</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:withRepoLock" ><A NAME="v%3AwithRepoLock" ></A ></A ><B >withRepoLock</B > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> (<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:withRepoReadLock" ><A NAME="v%3AwithRepoReadLock" ></A ></A ><B >withRepoReadLock</B > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> (<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:withRepository" ><A NAME="v%3AwithRepository" ></A ></A ><B >withRepository</B > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> (<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:withRepositoryDirectory" ><A NAME="v%3AwithRepositoryDirectory" ></A ></A ><B >withRepositoryDirectory</B > :: <SPAN CLASS="keyword" >forall</SPAN > a. [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> (<SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:withGutsOf" ><A NAME="v%3AwithGutsOf" ></A ></A ><B >withGutsOf</B > :: <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:tentativelyAddPatch" ><A NAME="v%3AtentativelyAddPatch" ></A ></A ><B >tentativelyAddPatch</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:tentativelyRemovePatches" ><A NAME="v%3AtentativelyRemovePatches" ></A ></A ><B >tentativelyRemovePatches</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:tentativelyAddToPending" ><A NAME="v%3AtentativelyAddToPending" ></A ></A ><B >tentativelyAddToPending</B > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="doc" >This fuction is unsafe because it accepts a patch that works on the tentative pending and we don't currently track the state of the tentative pending. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:tentativelyAddPatch_" ><A NAME="v%3AtentativelyAddPatch_" ></A ></A ><B >tentativelyAddPatch_</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3AUpdatePristine" >UpdatePristine</A > -> <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:tentativelyReplacePatches" ><A NAME="v%3AtentativelyReplacePatches" ></A ></A ><B >tentativelyReplacePatches</B > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:finalizeRepositoryChanges" ><A NAME="v%3AfinalizeRepositoryChanges" ></A ></A ><B >finalizeRepositoryChanges</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:unrevertUrl" ><A NAME="v%3AunrevertUrl" ></A ></A ><B >unrevertUrl</B > :: <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:applyToWorking" ><A NAME="v%3AapplyToWorking" ></A ></A ><B >applyToWorking</B > :: <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p1 -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:patchSetToPatches" ><A NAME="v%3ApatchSetToPatches" ></A ></A ><B >patchSetToPatches</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)) -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:createPristineDirectoryTree" ><A NAME="v%3AcreatePristineDirectoryTree" ></A ></A ><B >createPristineDirectoryTree</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:createPartialsPristineDirectoryTree" ><A NAME="v%3AcreatePartialsPristineDirectoryTree" ></A ></A ><B >createPartialsPristineDirectoryTree</B > :: (<A HREF="Darcs-RepoPath.html#t%3AFilePathLike" >FilePathLike</A > fp, <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p) => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> [fp] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:optimizeInventory" ><A NAME="v%3AoptimizeInventory" ></A ></A ><B >optimizeInventory</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="doc" ><P >Writes out a fresh copy of the inventory that minimizes the amount of inventory that need be downloaded when people pull from the repository. </P ><P >Specifically, it breaks up the inventory on the most recent tag. This speeds up most commands when run remotely, both because a smaller file needs to be transfered (only the most recent inventory). It also gives a guarantee that all the patches prior to a given tag are included in that tag, so less commutation and history traversal is needed. This latter issue can become very important in large repositories. </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:cleanRepository" ><A NAME="v%3AcleanRepository" ></A ></A ><B >cleanRepository</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:getMarkedupFile" ><A NAME="v%3AgetMarkedupFile" ></A ></A ><B >getMarkedupFile</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Patch-Info.html#t%3APatchInfo" >PatchInfo</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="Darcs-Patch-Apply.html#t%3AMarkedUpFile" >MarkedUpFile</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A NAME="t:PatchSet" ><A NAME="t%3APatchSet" ></A ></A ><B >PatchSet</B > p = <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p))</TD ></TR ><TR ><TD CLASS="doc" ><P >A PatchSet is in reverse order, plus has information about which tags are clean, meaning all patches applied prior to them are in the tag itself, so we can stop reading at that point. Just to clarify, the first patch in a PatchSet is the one most recently applied to the repo. </P ><P ><TT ><A HREF="Darcs-Repository-Internal.html#t%3APatchSet" >PatchSet</A ></TT >s have the property that if <TT > (info $ last $ head a) == (info $ last $ head b) </TT > then <TT >(tail a)</TT > and <TT >(tail b)</TT > are identical repositories </P ><P >Questions: </P ><P >Does this mean that in a patch set such as <TT >[[a b t1 c d e t2][f g t3] [h i]]</TT >, t1, t2 and t3 are tags, and t2 and t3 are clean? </P ><P >Can we have PatchSet with length at least 3? Florent </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A NAME="t:SealedPatchSet" ><A NAME="t%3ASealedPatchSet" ></A ></A ><B >SealedPatchSet</B > p = <A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)))</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:setScriptsExecutable" ><A NAME="v%3AsetScriptsExecutable" ></A ></A ><B >setScriptsExecutable</B > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="doc" >Sets scripts in or below the current directory executable. A script is any file that starts with the bytes '#!'. This is used sometimes for --set-scripts-executable, but at other times --set-scripts-executable is handled by the hunk patch case of applyFL. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:getRepository" ><A NAME="v%3AgetRepository" ></A ></A ><B >getRepository</B > :: <A HREF="Darcs-Repository-Internal.html#t%3ARIO" >RIO</A > p (<A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p)</TD ></TR ><TR ><TD CLASS="doc" >Similar to the <TT >ask</TT > function of the MonadReader class. This allows actions in the RIO monad to get the current repository. FIXME: Don't export this. If we don't export this it makes it harder for arbitrary IO actions to access the repository and hence our code is easier to audit. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:rIO" ><A NAME="v%3ArIO" ></A ></A ><B >rIO</B > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > a -> <A HREF="Darcs-Repository-Internal.html#t%3ARIO" >RIO</A > p a</TD ></TR ><TR ><TD CLASS="doc" >This the <TT >RIO</TT > equivalent of <TT >liftIO</TT >. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:testTentative" ><A NAME="v%3AtestTentative" ></A ></A ><B >testTentative</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:testRecorded" ><A NAME="v%3AtestRecorded" ></A ></A ><B >testRecorded</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:UpdatePristine" ><A NAME="t%3AUpdatePristine" ></A ></A ><B >UpdatePristine</B > </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" >Constructors</TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="arg" ><A NAME="v:UpdatePristine" ><A NAME="v%3AUpdatePristine" ></A ></A ><B >UpdatePristine</B ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:DontUpdatePristine" ><A NAME="v%3ADontUpdatePristine" ></A ></A ><B >DontUpdatePristine</B ></TD ><TD CLASS="rdoc" ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:UpdatePristine')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:UpdatePristine" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Eq.html#t%3AEq" >Eq</A > <A HREF="Darcs-Repository-Internal.html#t%3AUpdatePristine" >UpdatePristine</A ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:MakeChanges" ><A NAME="t%3AMakeChanges" ></A ></A ><B >MakeChanges</B > </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" >Constructors</TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="arg" ><A NAME="v:MakeChanges" ><A NAME="v%3AMakeChanges" ></A ></A ><B >MakeChanges</B ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:DontMakeChanges" ><A NAME="v%3ADontMakeChanges" ></A ></A ><B >DontMakeChanges</B ></TD ><TD CLASS="rdoc" ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:MakeChanges')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:MakeChanges" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Eq.html#t%3AEq" >Eq</A > <A HREF="Darcs-Repository-Internal.html#t%3AMakeChanges" >MakeChanges</A ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:applyToTentativePristine" ><A NAME="v%3AapplyToTentativePristine" ></A ></A ><B >applyToTentativePristine</B > :: (<A HREF="Darcs-Patch-Prim.html#t%3AEffect" >Effect</A > q, <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > q) => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> q -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:make_new_pending" ><A NAME="v%3Amake_new_pending" ></A ></A ><B >make_new_pending</B > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository-Internal.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="botbar" >Produced by <A HREF="http://www.haskell.org/haddock/" >Haddock</A > version 2.6.0</TD ></TR ></TABLE ></BODY ></HTML >