On 03/04/2011 10:05, Guillaume Hoffmann wrote:
>
> Guillaume Hoffmann <guillaumh@gmail.com> added the comment:
>
> I have a patch that makes "darcs optimize --http" systematically run the
> pristine upgrade before creating the basic pack (see
> http://wiki.darcs.net/Internals/OptimizeHTTP), and I'm not sure this is
> worth it.
>
> With this patch, users will systematically see the warning message.
Can't you first check if it's converted, using the same code that
already does that check?
>
> Without (current situation), the warning only happens during "darcs get"
> from a packed repos who didn't have the pristine conversion. Since
> "optimize --http" is only in recent darcses, which do this conversion as
> soon as a patch is applied on a repo, it should only happen very seldom.
Given this it may not actually be worth the effort, of course.
Ganesh
|