##// END OF EJS Templates
merge: break up a not-so-one-liner for readability...
marmoute -
r49549:d8577d00 default
parent child Browse files
Show More
@@ -346,10 +346,9 b' def _checkcollision(repo, wmf, mresult):'
346 for fold, f in sorted(foldmap.items()):
346 for fold, f in sorted(foldmap.items()):
347 if fold.startswith(foldprefix) and not f.startswith(unfoldprefix):
347 if fold.startswith(foldprefix) and not f.startswith(unfoldprefix):
348 # the folded prefix matches but actual casing is different
348 # the folded prefix matches but actual casing is different
349 raise error.StateError(
349 msg = _(b"case-folding collision between %s and directory of %s")
350 _(b"case-folding collision between %s and directory of %s")
350 msg %= (lastfull, f)
351 % (lastfull, f)
351 raise error.StateError(msg)
352 )
353 foldprefix = fold + b'/'
352 foldprefix = fold + b'/'
354 unfoldprefix = f + b'/'
353 unfoldprefix = f + b'/'
355 lastfull = f
354 lastfull = f
General Comments 0
You need to be logged in to leave comments. Login now