merge with stable
authorAugie Fackler <augie@google.com>
Tue, 01 Sep 2020 09:46:15 -0400
changeset 45395 e666f601b3ea
parent 45392 c25efc468a49 (current diff)
parent 45394 42202492a3b9 (diff)
child 45399 e7c5735433ac
merge with stable
--- a/.hgsigs	Mon Aug 24 12:39:48 2020 -0400
+++ b/.hgsigs	Tue Sep 01 09:46:15 2020 -0400
@@ -200,3 +200,4 @@
 0ea9c86fac8974cd74dc12ea681c8986eb6da6c4 0 iQJJBAABCgAzFiEE64UTlbQiPuL3ugso2lR0C/CHMroFAl78z0gVHDc4OTVwdWxraXRAZ21haWwuY29tAAoJENpUdAvwhzK6IrkP/2m/DJ93BR/SljCFe7KnExrDTzDI/i69x+ljomRZJmMRa86zRkclgd5L49woExDd1ZGebUY650V16adKNmVpz2rS6bQOgEr2NBD5fL+GiTX6UJ1VMgmQ8x1m8DYuI8pfBWbqQuZIl1vCEc0RmT3tHLZ7T8XgG9RXa4XielI2uhyimJPyZsE1K7c8Fa6UakH++DhYFBj+3QYbwS2fFDdA29L/4N5JLUzHkIbF7tPg7P1RBk+vhopKz9MMIu4S95LU+Gk7eQ3FfE8Jnv959hX2o/B2sdT2tEPIuDRSxZhSKLdlGbMy5IZvc/bZ+a5jlb2w23tlpfgzQxNarFqpX/weiJCtsxzeMXQHEVFG/+VuIOIYbfILWzySFcnSvcAtmNXExxH2F9j+XmQkLysnsgIfplNVEEIgZDBPGAkAQ+lH7UrEdw31ciSrCDsjXDaPQWcmk4zkfrXlwN7R9zJguJ+OuZ/Ga7NXWdZAC+YkPSKAfCesdUefcesyiresO8GEk9DyRNQsX/gl5BjEeuqYyUsve5541IMqscvdosg6HrU/RrmeR7sM7tZrDwCWdOWu/GdFatQ+k6zArSrMTKUBztzV93MIwUHDrnd+7OOYDfAuqGy7oM2KoW0Jp8sS2hotIJZ9a+VGwQcxCJ93I5sVT6ePBdmBoIAFW+rbncnD+E/RvVpl
 28163c5de797e5416f9b588940f4608269b4d50a 0 iQJJBAABCgAzFiEE64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MNOChFreN9db2mYSxjHrtqeDp7I8uV1JdtC+UXPtBNXIOddg1/C2V2X7palfscrLbIFAVGsUf6x4AeGjatuxUUxrp0flEjH4IvRIuhwv1QSdLTJQCq3zMoosPgRskETlgqrjZawxWspGNbXOX45YWb+vEib17c11OE0C5vQFtA6q6MDO/g/g95eVGijIxUiLM45Nh7O+e7ugHiFwWQiD5KlVz1w5QRsCfIdYPOXXUEMyVDE94WduEHB+2D1FZ8hi
--- a/.hgtags	Mon Aug 24 12:39:48 2020 -0400
+++ b/.hgtags	Tue Sep 01 09:46:15 2020 -0400
@@ -213,3 +213,4 @@
 0ea9c86fac8974cd74dc12ea681c8986eb6da6c4 5.4.2
 28163c5de797e5416f9b588940f4608269b4d50a 5.5rc0
 7fc3c5fbc65f6fe85d70ea63923b8767dda4f2e0 5.5
+f62bb5d07848ca598aa860a517394130b61bf2ee 5.5.1
--- a/mercurial/keepalive.py	Mon Aug 24 12:39:48 2020 -0400
+++ b/mercurial/keepalive.py	Tue Sep 01 09:46:15 2020 -0400
@@ -542,7 +542,11 @@
             return line
 
         # No newline in local buffer. Read until we find one.
-        chunks = [self._rbuf]
+        # readinto read via readinto will already return _rbuf
+        if self._raw_readinto is None:
+            chunks = [self._rbuf]
+        else:
+            chunks = []
         i = -1
         readsize = self._rbufsize
         while True:
--- a/tests/test-check-format.t	Mon Aug 24 12:39:48 2020 -0400
+++ b/tests/test-check-format.t	Tue Sep 01 09:46:15 2020 -0400
@@ -1,4 +1,4 @@
-#require black
+#require black test-repo
 
   $ cd $RUNTESTDIR/..
   $ black --config=black.toml --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`