Commit fc801ee1 authored by Vincent Legoll's avatar Vincent Legoll

Use self.CMD instead of hardcoding 'hg' command name

svn path=/trunk/; revision=1240
parent 39d2bbbb
......@@ -50,7 +50,7 @@ class Vc(_vc.Vc):
while 1:
entries = os.popen('cd "%s" && hg status -A .'%directory).read().split("\n")[:-1]
entries = os.popen('cd "%s" && %s status -A .' % (directory, self.CMD)).read().split("\n")[:-1]
except OSError, e:
if e.errno != errno.EAGAIN:
......@@ -85,5 +85,3 @@ class Vc(_vc.Vc):
retdirs.append( _vc.Dir(path, d, state) )
return retdirs, retfiles
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment