<!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</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.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</FONT ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" ><B >Contents</B ></TD ></TR ><TR ><TD ><DL ><DT ><A HREF="#1" >Recorded and unrecorded and pending. </A ></DT ><DT ><A HREF="#2" >Index. </A ></DT ></DL ></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</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.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.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.html#t%3ARepository" >Repository</A > p))</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.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.html#t%3ARepository" >Repository</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.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.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.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.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.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%3AmakePatchLazy" >makePatchLazy</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Repository.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-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AwritePatchSet" >writePatchSet</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.html#t%3APatchSet" >PatchSet</A > p -> [<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="Darcs-Repository.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.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%3AreplacePristine" >replacePristine</A > :: <A HREF="Darcs-Repository.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/hashed-storage-0.4.13/Storage-Hashed-Tree.html#t%3ATree" >Tree</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/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.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.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%3AwithRecorded" >withRecorded</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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.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.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.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%3Aadd_to_pending" >add_to_pending</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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%3AtentativelyAddPatch" >tentativelyAddPatch</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Repository.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.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.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%3AtentativelyReplacePatches" >tentativelyReplacePatches</A > :: <SPAN CLASS="keyword" >forall</SPAN > p. <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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%3AtentativelyMergePatches" >tentativelyMergePatches</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p) -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Repository.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-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A >))</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AconsiderMergeToWorking" >considerMergeToWorking</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p) -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Repository.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-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</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.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%3AfinalizeRepositoryChanges" >finalizeRepositoryChanges</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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%3AcreateRepository" >createRepository</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/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%3AcopyRepository" >copyRepository</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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%3Acopy_oldrepo_patches" >copy_oldrepo_patches</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Repository.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%3ApatchSetToRepository" >patchSetToRepository</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Repository.html#t%3APatchSet" >PatchSet</A > p -> [<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="Darcs-Repository.html#t%3ARepository" >Repository</A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AunrevertUrl" >unrevertUrl</A > :: <A HREF="Darcs-Repository.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.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-Repository.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.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.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.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.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.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-Repository.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-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)))</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="#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%3AcheckUnrelatedRepos" >checkUnrelatedRepos</A > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> [<A HREF="Darcs-Patch-Info.html#t%3APatchInfo" >PatchInfo</A >] -> <A HREF="Darcs-Repository.html#t%3APatchSet" >PatchSet</A > p -> <A HREF="Darcs-Repository.html#t%3APatchSet" >PatchSet</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%3AtestTentative" >testTentative</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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.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%3AreadRecorded" >readRecorded</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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/hashed-storage-0.4.13/Storage-Hashed-Tree.html#t%3ATree" >Tree</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AreadUnrecorded" >readUnrecorded</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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/hashed-storage-0.4.13/Storage-Hashed-Tree.html#t%3ATree" >Tree</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AunrecordedChanges" >unrecordedChanges</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Repository.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-RepoPath.html#t%3ASubPath" >SubPath</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AreadPending" >readPending</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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/hashed-storage-0.4.13/Storage-Hashed-Tree.html#t%3ATree" >Tree</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A >, <A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A >))</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3ApendingChanges" >pendingChanges</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-RepoPath.html#t%3ASubPath" >SubPath</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A >))</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AreadRecordedAndPending" >readRecordedAndPending</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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/hashed-storage-0.4.13/Storage-Hashed-Tree.html#t%3ATree" >Tree</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AreadIndex" >readIndex</A > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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/hashed-storage-0.4.13/Storage-Hashed-Index.html#t%3AIndex" >Index</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AinvalidateIndex" >invalidateIndex</A > :: t -> <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" ><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.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" ><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.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.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.html#t%3ARepository" >Repository</A > p))</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.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.html#t%3ARepository" >Repository</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.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.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.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.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.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:makePatchLazy" ><A NAME="v%3AmakePatchLazy" ></A ></A ><B >makePatchLazy</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Repository.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-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:writePatchSet" ><A NAME="v%3AwritePatchSet" ></A ></A ><B >writePatchSet</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.html#t%3APatchSet" >PatchSet</A > p -> [<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="Darcs-Repository.html#t%3ARepository" >Repository</A > p)</TD ></TR ><TR ><TD CLASS="doc" >writePatchSet is like patchSetToRepository, except that it doesn't touch the working directory or pristine cache. </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.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:replacePristine" ><A NAME="v%3AreplacePristine" ></A ></A ><B >replacePristine</B > :: <A HREF="Darcs-Repository.html#t%3ARepository" >Repository</A > p -> <A HREF="/usr/share/doc/ghc/html/libraries/hashed-storage-0.4.13/Storage-Hashed-Tree.html#t%3ATree" >Tree</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/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" >Replace the existing pristine with a new one (loaded up in a Tree object). </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.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.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:withRecorded" ><A NAME="v%3AwithRecorded" ></A ></A ><B >withRecorded</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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.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.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.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:add_to_pending" ><A NAME="v%3Aadd_to_pending" ></A ></A ><B >add_to_pending</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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="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.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Repository.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.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.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: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.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:tentativelyMergePatches" ><A NAME="v%3AtentativelyMergePatches" ></A ></A ><B >tentativelyMergePatches</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p) -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Repository.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-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A >))</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:considerMergeToWorking" ><A NAME="v%3AconsiderMergeToWorking" ></A ></A ><B >considerMergeToWorking</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p) -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > (<A HREF="Darcs-Repository.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-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</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.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:finalizeRepositoryChanges" ><A NAME="v%3AfinalizeRepositoryChanges" ></A ></A ><B >finalizeRepositoryChanges</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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:createRepository" ><A NAME="v%3AcreateRepository" ></A ></A ><B >createRepository</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/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:copyRepository" ><A NAME="v%3AcopyRepository" ></A ></A ><B >copyRepository</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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:copy_oldrepo_patches" ><A NAME="v%3Acopy_oldrepo_patches" ></A ></A ><B >copy_oldrepo_patches</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Repository.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:patchSetToRepository" ><A NAME="v%3ApatchSetToRepository" ></A ></A ><B >patchSetToRepository</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.html#t%3ARepository" >Repository</A > p -> <A HREF="Darcs-Repository.html#t%3APatchSet" >PatchSet</A > p -> [<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="Darcs-Repository.html#t%3ARepository" >Repository</A > p)</TD ></TR ><TR ><TD CLASS="doc" >patchSetToRepository takes a patch set, and writes a new repository in the current directory that contains all the patches in the patch set. This function is used when 'darcs get'ing a repository with the --to-match flag and the new repository is not in hashed format. This function does not (yet) work for hashed repositories. If the passed <TT >DarcsFlag</TT >s tell darcs to create a hashed repository, this function will call <TT >error</TT >. </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.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.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-Repository.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.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.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.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.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.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-Repository.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.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-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)))</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:PatchInfoAnd" ><A NAME="t%3APatchInfoAnd" ></A ></A ><B >PatchInfoAnd</B > p </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="ndoc" ><TT ><TT ><A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A ></TT > p </TT > represents a hope we have to get a patch through its info. We're not sure we have the patch, but we know its info. </TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:PatchInfoAnd')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:PatchInfoAnd" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Darcs-Witnesses-Ordered.html#t%3AMyEq" >MyEq</A > p => <A HREF="Darcs-Witnesses-Ordered.html#t%3AMyEq" >MyEq</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="decl" >(<A HREF="Darcs-Patch-Prim.html#t%3AConflict" >Conflict</A > p, <A HREF="Darcs-Patch-Prim.html#t%3AEffect" >Effect</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > p) => <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Prim.html#t%3AEffect" >Effect</A > p => <A HREF="Darcs-Patch-Prim.html#t%3AEffect" >Effect</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Prim.html#t%3AConflict" >Conflict</A > p => <A HREF="Darcs-Patch-Prim.html#t%3AConflict" >Conflict</A > (<A HREF="Darcs-Repository.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></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:checkUnrelatedRepos" ><A NAME="v%3AcheckUnrelatedRepos" ></A ></A ><B >checkUnrelatedRepos</B > :: [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> [<A HREF="Darcs-Patch-Info.html#t%3APatchInfo" >PatchInfo</A >] -> <A HREF="Darcs-Repository.html#t%3APatchSet" >PatchSet</A > p -> <A HREF="Darcs-Repository.html#t%3APatchSet" >PatchSet</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:testTentative" ><A NAME="v%3AtestTentative" ></A ></A ><B >testTentative</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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.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="section1" ><A NAME="1" ><A NAME="1" >Recorded and unrecorded and pending. </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:readRecorded" ><A NAME="v%3AreadRecorded" ></A ></A ><B >readRecorded</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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/hashed-storage-0.4.13/Storage-Hashed-Tree.html#t%3ATree" >Tree</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A >)</TD ></TR ><TR ><TD CLASS="doc" ><P >Obtains a Tree corresponding to the <A HREF="recorded.html" >recorded</A > state of the repository: this is the same as the pristine cache, which is the same as the result of applying all the repository's patches to an empty directory. </P ><P >Handles the plain and hashed pristine cases. Currently does not handle the no-pristine case, as that requires replaying patches. Cf. <TT ><A HREF="/usr/share/doc/ghc/html/libraries/hashed-storage-0.4.13/Storage-Hashed-Darcs.html#v%3AreadDarcsHashed" >readDarcsHashed</A ></TT > and <TT ><A HREF="/usr/share/doc/ghc/html/libraries/hashed-storage-0.4.13/Storage-Hashed-Plain.html#v%3AreadPlainTree" >readPlainTree</A ></TT > in hashed-storage that are used to do the actual <TT ><A HREF="/usr/share/doc/ghc/html/libraries/hashed-storage-0.4.13/Storage-Hashed-Tree.html#t%3ATree" >Tree</A ></TT > construction. </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:readUnrecorded" ><A NAME="v%3AreadUnrecorded" ></A ></A ><B >readUnrecorded</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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/hashed-storage-0.4.13/Storage-Hashed-Tree.html#t%3ATree" >Tree</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A >)</TD ></TR ><TR ><TD CLASS="doc" >Obtains a Tree corresponding to the <A HREF="unrecorded.html" >unrecorded</A > state of the repository: the working tree plus the <A HREF="pending.html" >pending</A > patch. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:unrecordedChanges" ><A NAME="v%3AunrecordedChanges" ></A ></A ><B >unrecordedChanges</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> <A HREF="Darcs-Repository.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-RepoPath.html#t%3ASubPath" >SubPath</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A >)</TD ></TR ><TR ><TD CLASS="doc" ><P >For a repository and a list of paths (when empty, take everything) compute a (forward) list of prims (i.e. a patch) going from the recorded state of the repository (pristine) to the unrecorded state of the repository (the working copy + pending). When a non-empty list of paths is given, exactly the files that live under any of these paths in either recorded or unrecorded will be included in the resulting patch. </P ><P >This also depends on the options given: with LookForAdds, we will include any non-boring files (i.e. also those that do not exist in the <A HREF="recorded.html" >recorded</A > state) in the working in the <A HREF="unrecorded.html" >unrecorded</A > state, and therefore they will show up in the patches as addfiles. </P ><P >The IgnoreTimes option disables index usage completely -- for each file, we read both the unrecorded and the recorded copy and run a diff on them. This is very inefficient, although in extremely rare cases, the index could go out of sync (file is modified, index is updated and file is modified again within a single second). </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:readPending" ><A NAME="v%3AreadPending" ></A ></A ><B >readPending</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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/hashed-storage-0.4.13/Storage-Hashed-Tree.html#t%3ATree" >Tree</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A >, <A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A >))</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:pendingChanges" ><A NAME="v%3ApendingChanges" ></A ></A ><B >pendingChanges</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.html#t%3ARepository" >Repository</A > p -> [<A HREF="Darcs-RepoPath.html#t%3ASubPath" >SubPath</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > (<A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A >))</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:readRecordedAndPending" ><A NAME="v%3AreadRecordedAndPending" ></A ></A ><B >readRecordedAndPending</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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/hashed-storage-0.4.13/Storage-Hashed-Tree.html#t%3ATree" >Tree</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A >)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="2" ><A NAME="2" >Index. </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:readIndex" ><A NAME="v%3AreadIndex" ></A ></A ><B >readIndex</B > :: <A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Repository.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/hashed-storage-0.4.13/Storage-Hashed-Index.html#t%3AIndex" >Index</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:invalidateIndex" ><A NAME="v%3AinvalidateIndex" ></A ></A ><B >invalidateIndex</B > :: t -> <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" >Mark the existing index as invalid. This has to be called whenever the listing of pristine changes and will cause darcs to update the index next time it tries to read it. (NB. This is about files added and removed from pristine: changes to file content in either pristine or working are handled transparently by the index reading code.) </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 >