equal
deleted
inserted
replaced
641 |
641 |
642 def _checkforbidden(l): |
642 def _checkforbidden(l): |
643 """Check filenames for illegal characters.""" |
643 """Check filenames for illegal characters.""" |
644 for f in l: |
644 for f in l: |
645 if '\n' in f or '\r' in f: |
645 if '\n' in f or '\r' in f: |
646 raise error.RevlogError( |
646 raise error.StorageError( |
647 _("'\\n' and '\\r' disallowed in filenames: %r") |
647 _("'\\n' and '\\r' disallowed in filenames: %r") |
648 % pycompat.bytestr(f)) |
648 % pycompat.bytestr(f)) |
649 |
649 |
650 |
650 |
651 # apply the changes collected during the bisect loop to our addlist |
651 # apply the changes collected during the bisect loop to our addlist |