[darcs-users] Recovering from an "unrecord all"
Jamie Webb
j at jmawebb.cjb.net
Thu Apr 20 16:59:59 UTC 2006
On Thu, Apr 20, 2006 at 03:50:20PM +0200, Daniel Déchelotte wrote:
> Thanks for your answer, Tomasz.
>
> Tomasz Zielonka a écrit :
>
> > Some time ago darcs didn't physically remove the patch files for
> > unrecorded/unpulled patches - they were removed from the
> > inventory, but you could still find them in _darcs/patches.
> > If it's still working this way, maybe it would suffice to
> > reconstruct the inventory?
>
> Hopefully, yes, but how to reconstruct "current" ? Simply running
That's what 'darcs repair' does. Reconstructing the inventory is the
hard part. Pulling the header out of each patch should work in the
simplest case, but things get harder once you start using any of
Darcs' patch-shuffling features. Expect to have to tweak which patches
are included and in which order.
You'll also need to delete the 'pending' patch.
-- Jamie Webb
More information about the darcs-users
mailing list