<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 17/06/2011 09:30, Andrei Vermel wrote:
    <blockquote cite="mid:4DFB10BC.5080507@mail.ru" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      On 15-Jun-11 2:06 PM, John Jefferies wrote:
      <blockquote cite="mid:4DF88420.7000503@globalgraphics.com"
        type="cite"> <font face="Helvetica, Arial, sans-serif"><br>
          I like using the rebase feature. </font><font
          face="Helvetica, Arial, sans-serif">In particular, I'm
          rebasing applied MQ patches after pulling from the central
          repo.<br>
          <br>
        </font><font face="Helvetica, Arial, sans-serif">This workflow
          does suffer one flaw (from my PoV) in that in my usage, the
          rebased files are all rewritten to disk. This has the
          conseqence of needing to rebuild these files, even though much
          of the time the rebased files haven't been merged during the
          rebase. My rebuild time can be significant, 10 minutes or more
          if a rebased header has many dependencies. And multiple
          configurations will require more again.<br>
          <br>
          Has anyone considered touching the non-merged files to their
          original timestamps following a rebase?<br>
        </font></blockquote>
      <br>
      There's an extension 'qtimes' that does just that. <br>
      'qtimes -s' stores timestamps of files in a patch queue. I have it
      called automatically after a build command.<br>
      'qtimes -r' restores the timestamps.<br>
    </blockquote>
    <br>
    Thankyou Andrei, this looks like it will do exactly what I want (and
    I don't know how I missed it).<br>
    <br>
    Unfortunately, when I try "hg qtimes -s" I get an exception. I
    presume there's something I'm missing and I hope the info in the
    exception makes it obvious to you or someone. FTR. I have 7 patches
    applied, with 19 changed files.<br>
    <br>
    Thankyou<br>
    <br>
    John<br>
    <br>
    -----------------------------<br>
    ** unknown exception encountered, please report by visiting<br>
    **&nbsp; <a class="moz-txt-link-freetext" href="http://mercurial.selenic.com/wiki/BugTracker">http://mercurial.selenic.com/wiki/BugTracker</a><br>
    ** Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64
    bit (AMD64)]<br>
    ** Mercurial Distributed SCM (version 1.8.2)<br>
    ** Extensions loaded: fixfrozenexts, onsub, relink, graphlog,
    rebase, mq, color,<br>
    &nbsp;transplant, extdiff, purge, qtimes<br>
    Traceback (most recent call last):<br>
    &nbsp; File "hg", line 36, in &lt;module&gt;<br>
    &nbsp; File "mercurial\dispatch.pyo", line 16, in run<br>
    &nbsp; File "mercurial\dispatch.pyo", line 36, in dispatch<br>
    &nbsp; File "mercurial\dispatch.pyo", line 58, in _runcatch<br>
    &nbsp; File "mercurial\dispatch.pyo", line 601, in _dispatch<br>
    &nbsp; File "mercurial\dispatch.pyo", line 406, in runcommand<br>
    &nbsp; File "mercurial\extensions.pyo", line 178, in wrap<br>
    &nbsp; File "hgext\color.pyo", line 223, in colorcmd<br>
    &nbsp; File "mercurial\dispatch.pyo", line 655, in _runcommand<br>
    &nbsp; File "mercurial\dispatch.pyo", line 609, in checkargs<br>
    &nbsp; File "mercurial\dispatch.pyo", line 598, in &lt;lambda&gt;<br>
    &nbsp; File "mercurial\util.pyo", line 433, in check<br>
    &nbsp; File "mercurial\extensions.pyo", line 133, in wrap<br>
    &nbsp; File "mercurial\util.pyo", line 433, in check<br>
    &nbsp; File "hgext\mq.pyo", line 3049, in mqcommand<br>
    &nbsp; File "mercurial\util.pyo", line 433, in check<br>
    &nbsp; File "F:\Zip-files\Mercurial\qtimes\qtimes.py", line 24, in times<br>
    &nbsp;&nbsp;&nbsp; files, matchfn, anypats = cmdutil.matchpats(repo, pats, opts)<br>
    AttributeError: 'module' object has no attribute 'matchpats'<br>
    -----------------------------<br>
    <br>
  </body>
</html>