[darcs-users] Getting a full diff for pulled patches

Alexander Staubo alex at purefiction.net
Tue Jul 24 19:02:04 UTC 2007


On 7/24/07, Eric Y. Kow <eric.kow at gmail.com> wrote:
> > To do this, I need to find the contents of each side so that I can
> > display them. The problem is that running "darcs pull --dry-run
> > --verbose", for instance, does not yield sufficient information.
>
> First: an apology; I have not read your message thoroughly.
>
> Second: would a sequence like this help?
>  darcs get local localClone
>  cd localClone
>  darcs pull --all remote
>  # darcs diff at your leisure?
>  cd ..
>  cd local
>  darcs pull # the selected patches

This will work, but is not feasible in practice -- it will be much too
slow even on trivially-sized repos.

> You might also want to watch out for darcs's handling of dependencies.
> If you, for example, elect not to pull a patch, darcs will not allow
> you to pull any patch that depends on it.

Absolutely. Darcs does not supply this dependency information,
unfortunately. Some trickery with "pull --no-deps" might be used to
detect dependencies.

Alexander.



More information about the darcs-users mailing list