1163
1164
# This is stolen from _dirstate_helpers_py.py, only switching it to
1164
1165
# Unicode objects. Consider using encode_utf8() and then using the
1165
1166
# optimized versions, or maybe writing optimized unicode versions.
1167
1168
raise TypeError("'path1' must be a unicode string, not %s: %r"
1170
1171
raise TypeError("'path2' must be a unicode string, not %s: %r"
1172
1173
return cmp(MultiWalker._path_to_key(path1),