revlog: don't handle long for revision matching
The underlying C code doesn't support indexing by longs, there are no
legitimate reasons to use a long, and longs should generally be
converted to ints at a higher level by context's constructor.
win32: fix encoding handling for registry strings (
issue3467)
This stopped handling non-ASCII strings in 1.8