gitdirstate: use util.listdir if available
Since hg 4.3, the upstream osutil module has been moved to mercurial.cext.osutil, but the util module also now re-exports everything in osutil. Thanks to Durham Goode and Yuya Nishihara for reporting and finding the right fix for this.
Please register or sign in to comment