store: simplify walking
- fold in main walking function
- eliminate recursion (especially recursive yielding!)
- eliminate default args
store.py: accept empty repos
Fixes a traceback on the server side when trying to streamclone
an empty repo (this was *not* introduced by
80e51429cb9a).
Update win32mbcs extension
* Code cleanup by Matt.
* Fix the issue with case-insensitive fs support
by wrapping also util.fspath() and util.checkcase()
* Abort program when path conversion is failed.
Added signature for changeset
d2375bbee6d4
Added tag 1.0.2 for changeset
d2375bbee6d4
util: disinfect lookup_reg strings (
issue1126)
lookup_reg could return Unicode strings, which would infect other strings and
generate unexpected tracebacks. Spotted by Rémy Roy.
Fold in silly nested function while we're at it.
test symlinks on symlink-capable os but non-capable filesystem (
issue1149)
The "real" way to test this is to mount a non-symlink-capable filesystem, and
try working on it; however, I don't know how to mount filesystems as a
non-priveleged user from within the testing framework. So instead, os.symlink
is overridden to raise the exception that would be raised on such a filesystem.