Commits

Steve Borho committed 783815c

guess: util.lexists() was only necessary for Python2.3

It was removed from Mercurial in August after we dropped support for
Python 2.3. Hg uses os.path.lexists natively now.

closes #1586

Comments (0)

Files changed (1)

tortoisehg/hgtk/guess.py

             except:
                 good = False
             status = self.repo.dirstate[abs]
-            if (not good or not util.lexists(target)
+            if (not good or not os.path.lexists(target)
                 or (os.path.isdir(target) and not os.path.islink(target))):
                 srcs.append(abs)
             elif copy and status == 'n':