hgext/convert/gnuarch.py
changeset 39909 5fe0b880200e
parent 39838 28626957395a
child 43072 058c2468b2f5
--- a/hgext/convert/gnuarch.py	Sat Sep 29 02:02:35 2018 -0400
+++ b/hgext/convert/gnuarch.py	Tue Sep 25 21:16:12 2018 -0400
@@ -223,7 +223,7 @@
     def _getfile(self, name, rev):
         mode = os.lstat(os.path.join(self.tmppath, name)).st_mode
         if stat.S_ISLNK(mode):
-            data = os.readlink(os.path.join(self.tmppath, name))
+            data = util.readlink(os.path.join(self.tmppath, name))
             if mode:
                 mode = 'l'
             else: