diff -r 9c8d2cf7f591 -r e47385ef4e17 mercurial/commands.py --- a/mercurial/commands.py Tue Sep 08 21:38:10 2020 +0900 +++ b/mercurial/commands.py Wed Sep 09 11:41:18 2020 +0900 @@ -3400,7 +3400,7 @@ self.colend = colend def __hash__(self): - return hash((self.linenum, self.line)) + return hash(self.line) def __eq__(self, other): return self.line == other.line