Mercurial > hg
diff mercurial/archival.py @ 13006:ea68947ad0ce stable
httprepo: remove is-comparison with string literal
An identity check between a variable and a string literal was added to
the pushkey implementation in 6bd9778ae749. While CPython will
normally intern strings and thus make the test safe, value identity is
what should be used here.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Tue, 16 Nov 2010 21:35:58 +0100 |
parents | f00953d9533c |
children | 6c375e07d673 2956945c3bee |