changeset 26901:0e3d093c468e

merge with stable
author Matt Mackall <mpm@selenic.com>
date Wed, 11 Nov 2015 15:08:08 -0600
parents d1c741644d25 (current diff) a45821a808ab (diff)
children 7ffebbdcb371
files mercurial/posix.py
diffstat 6 files changed, 16 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsigs	Wed Nov 04 12:14:18 2015 -0500
+++ b/.hgsigs	Wed Nov 11 15:08:08 2015 -0600
@@ -115,3 +115,4 @@
 9a466b9f9792e3ad7ae3fc6c43c3ff2e136b718d 0 iQIVAwUAVg1oMSBXgaxoKi1yAQLPag/+Pv0+pR9b9Y5RflEcERUzVu92q+l/JEiP7PHP9pAZuXoQ0ikYBFo1Ygw8tkIG00dgEaLk/2b7E3OxaU9pjU3thoX//XpTcbkJtVhe7Bkjh9/S3dRpm2FWNL9n0qnywebziB45Xs8XzUwBZTYOkVRInYr/NzSo8KNbQH1B4u2g56veb8u/7GtEvBSGnMGVYKhVUZ3jxyDf371QkdafMOJPpogkZcVhXusvMZPDBYtTIzswyxBJ2jxHzjt8+EKs+FI3FxzvQ9Ze3M5Daa7xfiHI3sOgECO8GMVaJi0F49lttKx08KONw8xLlEof+cJ+qxLxQ42X5XOQglJ2/bv5ES5JiZYAti2XSXbZK96p4wexqL4hnaLVU/2iEUfqB9Sj6itEuhGOknPD9fQo1rZXYIS8CT5nGTNG4rEpLFN6VwWn1btIMNkEHw998zU7N3HAOk6adD6zGcntUfMBvQC3V4VK3o7hp8PGeySrWrOLcC/xLKM+XRonz46woJK5D8w8lCVYAxBWEGKAFtj9hv9R8Ye9gCW0Q8BvJ7MwGpn+7fLQ1BVZdV1LZQTSBUr5u8mNeDsRo4H2hITQRhUeElIwlMsUbbN078a4JPOUgPz1+Fi8oHRccBchN6I40QohL934zhcKXQ+NXYN8BgpCicPztSg8O8Y/qvhFP12Zu4tOH8P/dFY=
 b66e3ca0b90c3095ea28dfd39aa24247bebf5c20 0 iQIVAwUAViarTyBXgaxoKi1yAQLZgR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oK1XiOTJSv/5bAsnwb0ztDWeUj9fZEJL+SWtgB8=
--- a/.hgtags	Wed Nov 04 12:14:18 2015 -0500
+++ b/.hgtags	Wed Nov 11 15:08:08 2015 -0600
@@ -128,3 +128,4 @@
 9a466b9f9792e3ad7ae3fc6c43c3ff2e136b718d 3.5.2
 b66e3ca0b90c3095ea28dfd39aa24247bebf5c20 3.6-rc
 47dd34f2e7272be9e3b2a5a83cd0d20be44293f4 3.6
+1aa5083cbebbe7575c88f3402ab377539b484897 3.6.1
--- a/contrib/dockerlib.sh	Wed Nov 04 12:14:18 2015 -0500
+++ b/contrib/dockerlib.sh	Wed Nov 11 15:08:08 2015 -0600
@@ -35,8 +35,8 @@
         # running docker. This is *very likely* to fail at some point.
         echo RUN useradd $DBUILDUSER -u 1000
     else
-        echo RUN groupadd $DBUILDUSER -g `id -g`
-        echo RUN useradd $DBUILDUSER -u `id -u` -g $DBUILDUSER
+        echo RUN groupadd $DBUILDUSER -g `id -g` --non-unique
+        echo RUN useradd $DBUILDUSER -u `id -u` -g $DBUILDUSER --non-unique
     fi
   ) | $DOCKER build --tag $CONTAINER -
 }
--- a/contrib/wix/templates.wxs	Wed Nov 04 12:14:18 2015 -0500
+++ b/contrib/wix/templates.wxs	Wed Nov 11 15:08:08 2015 -0600
@@ -227,7 +227,7 @@
             <File Id="static.mercurial.js"       Name="mercurial.js" />
             <File Id="static.hgicon.png"         Name="hgicon.png" />
             <File Id="static.hglogo.png"         Name="hglogo.png" />
-            <File Id="static.style.coal.css"     Name="style-coal.css" />
+            <File Id="static.style.coal.css"     Name="style-extra-coal.css" />
             <File Id="static.style.gitweb.css"   Name="style-gitweb.css" />
             <File Id="static.style.monoblue.css" Name="style-monoblue.css" />
             <File Id="static.style.paper.css"    Name="style-paper.css" />
--- a/mercurial/dirstate.py	Wed Nov 04 12:14:18 2015 -0500
+++ b/mercurial/dirstate.py	Wed Nov 11 15:08:08 2015 -0600
@@ -445,6 +445,11 @@
         if self[f] not in "?r" and "_dirs" in self.__dict__:
             self._dirs.delpath(f)
 
+        if "_filefoldmap" in self.__dict__:
+            normed = util.normcase(f)
+            if normed in self._filefoldmap:
+                del self._filefoldmap[normed]
+
     def _addpath(self, f, state, mode, size, mtime):
         oldstate = self[f]
         if state == 'a' or oldstate == 'r':
--- a/mercurial/posix.py	Wed Nov 04 12:14:18 2015 -0500
+++ b/mercurial/posix.py	Wed Nov 11 15:08:08 2015 -0600
@@ -182,14 +182,16 @@
                 # link creation might race, try again
                 if inst[0] == errno.EEXIST:
                     continue
-                # sshfs might report failure while successfully creating the link
-                if inst[0] == errno.EIO and os.path.exists(name):
-                    os.unlink(name)
-                return False
+                raise
             finally:
                 fd.close()
         except AttributeError:
             return False
+        except OSError as inst:
+            # sshfs might report failure while successfully creating the link
+            if inst[0] == errno.EIO and os.path.exists(name):
+                os.unlink(name)
+            return False
 
 def checkosfilename(path):
     '''Check that the base-relative path is a valid filename on this platform.