Read about our upcoming Code of Conduct on this issue

  • Martin von Zweigbergk's avatar
    procutil: move mainfrozen() to new resourceutil.py · 664e24207728
    Martin von Zweigbergk authored
    The i18n module practically depends on procutil for mainfrozen() but
    since procutil depends on i18n, it would be a circular dependency if
    i18n depended directly on procutil. The cycle is currently resolved by
    having the higher-level util module calculate the "datapath" and
    inject it into i18n. Extracting mainfrozen() to a new module lets us
    clean up the dependencies.
    
    Differential Revision: https://phab.mercurial-scm.org/D7433
    664e24207728
procutil.py 18.1 KB