1. TortoiseHg
  2. TortoiseHg
  3. thg

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

  • Participants
  • Parent commits d350a63
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/guess.py

View file
             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':