mercurial/dagop.py
changeset 33076 a76a64c78807
parent 33075 d83b189aef83
child 33077 58ebb38456e0
equal deleted inserted replaced
33075:d83b189aef83 33076:a76a64c78807
    89         cut = 1
    89         cut = 1
    90     else:
    90     else:
    91         cut = None
    91         cut = None
    92 
    92 
    93     cl = repo.changelog
    93     cl = repo.changelog
    94     # XXX this should be 'parentset.min()' assuming 'parentset' is a
    94     first = revs.min()
    95     # smartset (and if it is not, it should.)
       
    96     first = min(revs)
       
    97     nullrev = node.nullrev
    95     nullrev = node.nullrev
    98     if first == nullrev:
    96     if first == nullrev:
    99         # Are there nodes with a null first parent and a non-null
    97         # Are there nodes with a null first parent and a non-null
   100         # second one? Maybe. Do we care? Probably not.
    98         # second one? Maybe. Do we care? Probably not.
   101         yield first
    99         yield first