[darcs-devel] [issue377] Darcs loop and darcs failure

Kirsten Chevalier catamorphism at gmail.com
Tue Jan 2 14:20:58 PST 2007


On 1/2/07, Simon Peyton-Jones <bugs at darcs.net> wrote:
>
> New submission from Simon Peyton-Jones <simonpj at microsoft.com>:
>
> Sigh.  Two new darcs bugs.
>
> Darcs has just gone into an infinite loop, when doing a 'pull' of a few dozen patches from GHC's HEAD repository into a partial repository on my laptop.  (Well, after 15 mins of 100% CPU I killed it.)  I have the repository if that helps.
>
> OK so then I tried a darcs get (*not* --partial, since that seems to give rise to crashes and other strangeness) for the full repository
>
> sh-2.04$ darcs get http://darcs.haskell.org/ghc --repo-name HEAD
>
>         -- Wait 1.5 hrs for darcs to download 15,000 patches
>
> Then:....
>
> Applying patch 1 of 15164...
> Applying patch 2 of 15164...
> Applying patch 3 of 15164...
> Applying patch 4 of 15164...
> Applying patch 5 of 15164...
> Applying patch 6 of 15164...
> Applying patch 7 of 15164...
> Applying patch 8 of 15164...
> Applying patch 9 of 15164...
> Applying patch 10 of 15164...
> Applying patch 11 of 15164...
> Applying patch 12 of 15164...
> darcs failed:  Error applying hunk to file ./ghc/includes/rtsTypes.lh
> Unapplicable patch:
> Thu Jan 11 14:26:13 GMT Standard Time 1996  partain
>   * [project @ 1996-01-11 14:06:51 by partain]
>
> This is on Windows
>
> I guess I don't have the most up-to-date version:
> sh-2.04$ darcs --version
> 1.0.6pre1 (unknown)
> sh-2.04$
>
> Next thing is to upgrade... the latest version seems to be 1.07.

I don't think upgrading will help.  I saw similar problems on my
Windows machine when using darcs built from the darcs repository for
darcs. (as of Dec. 20 2006 or thereabouts.) In particular, the first
problem always happens when there are conflicts, doesn't it? At least,
I know I've seen it before and the "solution" was to manually
binary-search for the conflicting patch and avoid pulling it.

Cheers,
Kirsten

-- 
Kirsten Chevalier* chevalier at alum.wellesley.edu *Often in error, never in doubt
"...Losing your mind, like losing your car keys, is a real hassle."
-- Andrew Solomon


More information about the darcs-devel mailing list