[PATCH 2 of 2] requires: write requires file on commit

Drew Gottlieb drgott at google.com
Mon May 4 18:12:26 CDT 2015

If I'm not mistaken, that rewrites the hashes of old commits as it clones
them to manifestv2 format, correct? What we're seeking is a way to have a
repository with manifestv1 to switch to using manifestv2 for future
commits, without modifying old hashes.

On Mon, May 4, 2015 at 4:09 PM Adrian Buehlmann <adrian at cadifra.com> wrote:

> On 2015-05-05 00:30, Drew Gottlieb wrote:
> > From IRC it seems a possible way forward can be having a command like
> > 'hg migrate' to handle migrations to new formats such as manifestv2 or
> > treemanifests. If such a command were created, the requires write could
> > happen then. Obviously, whether and how we have such a command is a
> > considerably larger discussion.
> I assume you are aware of
>   hg --config experimental.manifestv2=1 clone --pull repoA repoB
> See also http://mercurial.selenic.com/wiki/RequiresFile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150504/1770a125/attachment.html>

More information about the Mercurial-devel mailing list