1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

TK Soh  committed 6409f7d

hgtk: support symlink to hgtk

  • Participants
  • Parent commits 94abe45
  • Branches default

Comments (0)

Files changed (1)

File contrib/hgtk

View file
  • Ignore whitespace
 
         try:
             # assuming TortoiseHg source layout, with hgtk in contrib
-            path = os.path.dirname(os.path.abspath(__file__))
+            path = os.path.dirname(os.path.realpath(__file__))
             norm = os.path.normpath(os.path.join(path, '..'))
             if norm not in sys.path:
                 sys.path.append(norm)