This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

  • Georges Racinet's avatar
    utils.hg: high level method to extract changesets info · 8fa3f8406c79
    Georges Racinet authored
    This will be, I hope, more readable than the pervasive
    "log with `:` separated template / split" pattern
    we've been using.
    
    Especially, I expect failures to be more readily understandable.
    
    Using namedtuples for the extracts so that it's admissible in
    dicts and sets. The drawback is that we have to return the class
    as well, for litteral comparison. Each call gives a new class
    but instances of two such namedtuple classes are comparable.
    8fa3f8406c79
hg.py 6.78 KB