Mercurial > hg
diff mercurial/patch.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
line wrap: on
line diff
--- a/mercurial/patch.py Mon Jul 22 16:49:38 2024 +0200 +++ b/mercurial/patch.py Tue Jul 23 10:02:46 2024 +0200 @@ -229,6 +229,7 @@ def _extract(ui, fileobj, tmpname, tmpfp): + # attempt to detect the start of a patch # (this heuristic is borrowed from quilt) diffre = re.compile( @@ -595,7 +596,7 @@ self.created = 0 self.maxsize = maxsize if self.maxsize is None: - self.maxsize = 4 * (2**20) + self.maxsize = 4 * (2 ** 20) self.size = 0 self.data = {}