children, n^2 and solutions?

Matt Mackall mpm at selenic.com
Mon Jul 26 13:34:42 CDT 2010


On Mon, 2010-07-26 at 18:58 +0200, Jason Harris wrote:
> Fortunately / unfortunately MacHg works incrementally. That means if I
> do hg log -r 200100:200200 it will give me the results about an order
> of magnitude faster than hg debugdag. So if I were to use it I would
> have to do the log command (to get the information to display to the
> users) and then the debugdag command as well to get the structure.
> Additionally the Tree can change at many hg instructions. Eg pull,
> merge, strip, edit, collapse, etc can cause the tree to change, so
> really a full update needs to be done on many commands...

Call debugdag -once- the first time you visit a repo, cache the graph on
-your- side, and update it incrementally when the repo is changed.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list