[darcs-users] rmfile and addfile in same patch
Nimrod A. Abing
nimrod.abing at gmail.com
Sat Oct 15 18:49:33 UTC 2005
On 10/16/05, David Roundy <droundy at darcs.net> wrote:
> On Sat, Oct 15, 2005 at 11:40:12PM +0800, Nimrod A. Abing wrote:
> > On 10/15/05, David Roundy <droundy at darcs.net> wrote:
> > > On Sat, Oct 15, 2005 at 11:29:58PM +0800, Nimrod A. Abing wrote:
> > > > The error only appears when I do "darcs get" from my remote
> > > > repository on HTTP. The error message does not appear if I "darcs
> > > > get" from the original repository on my local filesystem which also
> > > > on an EXT3 filesystem under Linux.
> > >
> > > I presume you also see the error if you do "darcs check --complete"?
> >
> > Yes, and the error is also there even without --complete flag on for
> > darcs check. Does this mean my repo is now corrupted? How do I fix it?
>
> Yeah.
>
> An option if you don't need any history after this patch is to use darcs
> get --to-patch (patch before the problem one) and just throw away the
> repository with that change in it.
>
> The most effective way to fix it if you need the post-error history is to
> let me at a copy of your repository (it'll take a few days before I have
> time to look at it).
Here you go:
http://darcs:darcs@abing.gotdns.com/darcs/repos/bl2
> It's also possible to fix it yourself with me giving
> directions, but I'd like to figure how exactly it's corrupted (since it
> could be caused by an unfixed bug in darcs) and that's easiest if I can
> look at the repo myself. Let me know if you can make it available. If you
> can't, we can go through it over email: I ask you what the patch looks
> like, you summarize what seem the important parts--or copy and modify
> contents to remove proprietary info, etc. It just takes more iterations
> and more time (and there's a greater chance that I'll get tired and fail to
> figure out what caused the problem, since it's usually easier to fix a
> corrupt repo than to identify the circumstances that led to its
> corruption).
It would be resolved faster (i.e. if this really is a bug in darcs) if
you have a look at it :)
I would consider this a bug because isn't renaming a file basically
just an addfile and an rmfile in a single patch? At least in my
practice, that's how I do it.
--
_nimrod_a_abing_
v1sw5CPJYUhw5ln3pr8OUSck6ma8u7LBw3DWNTm5g/l7DaIs7Rr4e6t5Xb4Op1en3g5RZAHC
More information about the darcs-users
mailing list