Re: Raise minimum Python version?

2020-05-20 Thread Gregory Szorc
On Tue, May 19, 2020 at 6:24 AM Manuel Jacob wrote: > Hi, > > The issue came up in a reply to a patch I've sent a few days ago. I'm > sending a new mail to discuss this topic more generally. > > Mercurial is not usable on Python versions prior to 2.7.4. The issue was > raised in >

D8573: fsmonitor: coerce `clock` variable to byte-string (issue6321)

2020-05-20 Thread sheehan (Connor Sheehan)
sheehan created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Callers of `fsmonitor.state.setlastclock` pass their arguments wrapped in `pycompat.sysbytes` to ensure the value is a `bytes` on Python 3. However in

Re: Adding a cache for dirstate

2020-05-20 Thread Raphaël Gomès
Bikeshedding update: How about naming it "DirsTraversalCache" instead? "DirsCache" was a bit of a placeholder and not clear enough for my taste (and others as well I've been told). It would go in `.hg/wcache/dirs_traversal_cache`. On 5/14/20 7:47 PM, Raphaël Gomès wrote: Hi all, I have