1. Graham Helliwell
  2. thg

Commits

chris.moore  committed 7f58472

operating system independent paths

  • Participants
  • Parent commits 2c57972
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/hgqt/hgrcutil.py

View file
  • Ignore whitespace
     return fn, wconfig.readfile(fn)
 
 def getRepositorySyncPaths(path):
-    fn, cfg = loadIniFile([path + "/.hg/hgrc"])
+    fn, cfg = loadIniFile([os.path.join(path, ".hg", "hgrc")])
     if 'paths' in cfg:
         if 'default' in cfg['paths']: yield cfg['paths']['default']
         for alias in cfg['paths']: