comparison mercurial/worker.py @ 22472:2e2577b0ccbe

contrib/synthrepo: only generate 2 parents if model contains merges If `hg analyze` is run on a revision set which contains no merges, then `hg synthesize` will raise IndexError trying to select from p2distance, which will be empty.
author Mike Edgar <adgar@google.com>
date Fri, 12 Sep 2014 17:43:37 -0400
parents b3e51675f98e
children 328739ea70c3
comparison
equal deleted inserted replaced
22471:cc5f94db672b 22472:2e2577b0ccbe