Mercurial > hg
comparison mercurial/vfs.py @ 43117:8ff1ecfadcd1
cleanup: join string literals that are already on one line
Thanks to Kyle for noticing this and for providing the regular
expression to run on the codebase.
This patch has been reviewed by the test suite and they approved of
it.
# skip-blame: fallout from mass reformatting
Differential Revision: https://phab.mercurial-scm.org/D7028
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 08 Oct 2019 15:06:18 -0700 |
parents | 1f339b503a40 |
children | ffd632c224c3 |
comparison
equal
deleted
inserted
replaced
43116:defabf63e969 | 43117:8ff1ecfadcd1 |
---|---|
683 | 683 |
684 def close(self, fh): | 684 def close(self, fh): |
685 """Schedule a file for closing.""" | 685 """Schedule a file for closing.""" |
686 if not self._entered: | 686 if not self._entered: |
687 raise error.Abort( | 687 raise error.Abort( |
688 _(b'can only call close() when context manager ' b'active') | 688 _(b'can only call close() when context manager active') |
689 ) | 689 ) |
690 | 690 |
691 # If a background thread encountered an exception, raise now so we fail | 691 # If a background thread encountered an exception, raise now so we fail |
692 # fast. Otherwise we may potentially go on for minutes until the error | 692 # fast. Otherwise we may potentially go on for minutes until the error |
693 # is acted on. | 693 # is acted on. |