<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 05/23/2018 03:15 PM, Hollis Blanchard wrote:<br>
    <blockquote type="cite"
      cite="mid:0b2b1bd7-5707-99d3-078c-e26eeba9102a@mentor.com"><br>
      2. Commit tags as children of the correct head.
      <br>
      <br>
      I don't see a 'tag' cmdline option for this, though: the parent
      commit is the parent of the working directory, without an ability
      to override. That means I would need to keep working directories
      for all these mirrors, and since there are GBs of working
      directories and millions of files, that would be significant
      overhead.
      <br>
      <br>
    </blockquote>
    <p>Looks like I can use 'hg debugsetparents' for exactly this
      purpose:</p>
    <blockquote>
      <p>hg debugsetparents REV1 [REV2]<br>
      </p>
      <p>manually set the parents of the current working directory<br>
        <br>
            This is useful for writing repository conversion tools, but
        should be used<br>
            with care. For example, neither the working directory nor
        the dirstate is<br>
            updated, so file status may be incorrect after running this
        command.<br>
      </p>
    </blockquote>
    <p>I hope that debug command sticks around...
    </p>
    <pre class="moz-signature" cols="72">Hollis Blanchard
Mentor Graphics Emulation Division</pre>
  </body>
</html>