Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

nautilus: insert thg path at start of system path

this prevents an older installed version from eating your lunch

Changeset 7492a978e7f1

Parent 1f97d265692d

by Steve Borho

Changes to one file · Browse files at 7492a978e7f1 Showing diff from parent 1f97d265692d Diff from another changeset...

 
52
53
54
55
 
56
57
58
 
52
53
54
 
55
56
57
58
@@ -52,7 +52,7 @@
  testpath = os.path.join(thgpath, 'tortoise')   if os.path.isdir(testpath):   if thgpath not in sys.path: - sys.path.append(thgpath) + sys.path.insert(0, thgpath)   else:   # try environment or hard-coded path   thgpath = os.environ.get('TORTOISEHG_PATH', TORTOISEHG_PATH)