[darcs-devel] [issue2056] optimize --http does not convert pristine before creating packs

Ganesh Sittampalam bugs at darcs.net
Sun Apr 3 09:07:07 UTC 2011


Ganesh Sittampalam <ganesh at earth.li> added the comment:

On 03/04/2011 10:05, Guillaume Hoffmann wrote:
> 
> Guillaume Hoffmann <guillaumh at 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

----------
title: optimize --http does not convert pristine before creating packs -> optimize --http does not convert pristine before creating	packs

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2056>
__________________________________


More information about the darcs-devel mailing list