diff -r ff72bd52d56a -r 9d2b2df2c2ba hgext/remotefilelog/__init__.py --- a/hgext/remotefilelog/__init__.py Fri Mar 06 10:52:44 2020 +0100 +++ b/hgext/remotefilelog/__init__.py Fri Mar 06 13:27:41 2020 -0500 @@ -737,7 +737,7 @@ # "link" is actually wrong here (it is set to len(changelog)) # if changelog remains unchanged, skip writing file revisions # but still do a sanity check about pending multiple revisions - if len(set(x[3] for x in pendingfilecommits)) > 1: + if len({x[3] for x in pendingfilecommits}) > 1: raise error.ProgrammingError( b'pending multiple integer revisions are not supported' )