Mercurial > hg
comparison hgeditor @ 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 | 2b440bb8a66b |
children | 1aee2ab0f902 |
comparison
equal
deleted
inserted
replaced
22471:cc5f94db672b | 22472:2e2577b0ccbe |
---|