[Bug 6958] New: evolve: TypeError: '<' not supported between instances of 'NoneType' and 'int'

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Jan 28 17:18:08 UTC 2025


https://bz.mercurial-scm.org/show_bug.cgi?id=6958

            Bug ID: 6958
           Summary: evolve: TypeError: '<' not supported between instances
                    of 'NoneType' and 'int'
           Product: Mercurial
           Version: 6.8.2
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: urgent
         Component: evolution
          Assignee: bugzilla at mercurial-scm.org
          Reporter: jcristau at debian.org
                CC: av6 at dwimlabs.net, mercurial-devel at mercurial-scm.org,
                    pierre-yves.david at ens-lyon.org
    Python Version: ---

https://repo.mercurial-scm.org/evolve/rev/972d98ce3552 added `if
util.versiontuple(n=3) < (6, 8, 2):`
It looks like `util.versiontuple(n=3)` can return things like `(6, 8, None)`,
which raises TypeError trying to compare int and None.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list