[darcs-users] Pushing with no remote Darcs

Juliusz Chroboczek Juliusz.Chroboczek at pps.jussieu.fr
Fri Nov 4 08:57:08 UTC 2005


>> There's currently no way to avoid having a working dir in a darcs
>> repo; I believe there should be one.

> I don't see a theoretical reason why we couldn't do without both
> current and working directories.

There's none.  It just hasn't been implemented yet.

> We'd need to change the patch format so that a patch would know its
> source and target trees

No, there's absolutely no need for that; the necessary information is
already implicit in a patch's context, which itself can be recomputed
from the inventory.  The tricky bits have already been done when I
implemented the --no-pristine-cache format.

> I suspect that this would be rather fragile at first,

No, not at all.  It's a simple matter of going through all of the
commands and making them ignore the working dir if the ``no-working-dir''
pref is set on the repo.

While tedious, it's pretty trivial to do, and I think it's a good idea.

(I mean, it's a good idea if you do it, a bad idea if I have to do it.)

                                        Juliusz




More information about the darcs-users mailing list