Mercurial > hg-stable
comparison mercurial/manifest.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 | d783f945a701 |
children | 6ada8a274b9c |
comparison
equal
deleted
inserted
replaced
43116:defabf63e969 | 43117:8ff1ecfadcd1 |
---|---|
776 self._flags = {} | 776 self._flags = {} |
777 if text: | 777 if text: |
778 | 778 |
779 def readsubtree(subdir, subm): | 779 def readsubtree(subdir, subm): |
780 raise AssertionError( | 780 raise AssertionError( |
781 b'treemanifest constructor only accepts ' b'flat manifests' | 781 b'treemanifest constructor only accepts flat manifests' |
782 ) | 782 ) |
783 | 783 |
784 self.parse(text, readsubtree) | 784 self.parse(text, readsubtree) |
785 self._dirty = True # Mark flat manifest dirty after parsing | 785 self._dirty = True # Mark flat manifest dirty after parsing |
786 | 786 |