Index: scripts/chg-len.py
===================================================================
--- scripts/chg-len.py	(revision 272)
+++ scripts/chg-len.py	(revision 284)
@@ -10,5 +10,5 @@
 """
     exit(0)
-plist = os.popen("hg parents --template='{rev}\n'").readlines()
+plist = os.popen("HGRCPATH='' hg parents --template='{rev}\n'").readlines()
 if len(plist)>1:
     print "You are in the process of merging"
@@ -16,5 +16,6 @@
 PAR = int(plist[0])
 
-f = os.popen("hg log -r 0:tip --template='{rev} {parents}\n'").readlines()
+f = os.popen("HGRCPATH='' hg log -r 0:tip --template='{rev} {parents}\n'").\
+    readlines()
 REV = -1
 lengths=[]
