.hgsigs
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 09 Jul 2006 01:30:30 +0200
changeset 2579 0875cda033fd
parent 2253 ccd5f17f1eea
child 2660 ad329294d808
permissions -rw-r--r--
use __contains__, index or split instead of str.find str.find return -1 when the substring is not found, -1 evaluate to True and is a valid index, which can lead to bugs. Using alternatives when possible makes the code clearer and less prone to bugs. (and __contains__ is faster in microbenchmarks)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2253
ccd5f17f1eea Added signature for changeset 35fb62a3a673d5322f6274a44ba6456e5e4b3b37
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     1
35fb62a3a673d5322f6274a44ba6456e5e4b3b37 0 iD8DBQBEYmO2ywK+sNU5EO8RAnaYAKCO7x15xUn5mnhqWNXqk/ehlhRt2QCfRDfY0LrUq2q4oK/KypuJYPHgq1A=