largefiles: preserve the exit status of the forget command
This maintains the exit codes documented in commands.py.
largefiles: exit from remove with 1 on warnings
This maintains the exit codes documented in commands.py.
largefiles: preserve exit code from outgoing command (
issue3611)
This maintains the exit codes documented in commands.py.
store: let _auxencode() return the list of path segments
so we can spare us splitting the path again in _hybridencode()
store: eliminate unneded last assignment to n in _auxencode()
The check for period or space at the end of the string is the last one, the
local variable n is thus not used anymore.
store: unindent most of the contents of the for loop in _auxencode()
by refactoring
for i, n in enumerate(res):
if n:
<main code block>
to
for i, n in enumerate(res):
if not n:
continue
<main code block>
(no functional change)
store: optimze _auxencode() a bit by grouping the reserved names by length
This reduces perffncacheencode wall time on Windows 7 x64 for my netbeans clone
here from 4.3 to 4.0 (7% faster).