[Bug 4431] New: hg evolve is slow when there's nothing to evolve

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Nov 3 04:57:07 CST 2014


http://bz.selenic.com/show_bug.cgi?id=4431

          Priority: normal
            Bug ID: 4431
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg evolve is slow when there's nothing to evolve
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: pierre-yves.david at ens-lyon.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.9
         Component: evolution
           Product: Mercurial

(reported by Ryan McElroy)

I was evolving through a stack of diffs and I got to the last one, but
accidentally did 'hg evolve' again. It took a lot longer, so I ctrl-C'd out and
then I realized i had reached the end of the stack. My guess is that it's
searching through the history and not finding a branch to evolve.

Since 'hg sl' is quite fast and shows that there are no branches, I presume
that 'hg evolve' can use that same mechanism and be just as fast (failing with
'nothing to evolve', perhaps).

The profile feel wrong:

1246827            0     27.2663      6.4161  
mercurial.repoview:156(changelog)
 2493653            0     11.7532      4.5311      
mercurial.changelog:133(tip)
 1246827            0      4.5353      2.9961      
mercurial.localrepo:27(__get__)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list