• Matt Harbison's avatar
    thg: convert all `scmutil.revsymbol()` uses to `hglib.revsymbol()` · 710c0d416cbd
    Matt Harbison authored
    Since the function could theoretically return a workingctx, there are a couple
    places that need type assertions where attributes are accessed that are not on
    basectx.
    
    Additionally, pytype flagged the mq module for calling a function on the custom
    context subclass, so that is now suppressed.  I'm assuming these context
    subclass functions would be better off being unbound methods in a `contextutil`
    module or similar, because the hidden subclass is confusing the typing some
    times, and it's weird that some functions on a context return unicode.
    710c0d416cbd