comparison hgext/hgk.py @ 4686:39001f4b7d99

hgk: Use $HG instead of hg (see 849f011dbf79)
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 23 Jun 2007 21:10:55 +0200
parents cc08d2543593
children eadfaa9ec487
comparison
equal deleted inserted replaced
4685:b5bbfa18daf7 4686:39001f4b7d99
270 "start interactive history viewer" 270 "start interactive history viewer"
271 os.chdir(repo.root) 271 os.chdir(repo.root)
272 optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v]) 272 optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v])
273 cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc)) 273 cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc))
274 ui.debug("running %s\n" % cmd) 274 ui.debug("running %s\n" % cmd)
275 os.system(cmd) 275 util.system(cmd)
276 276
277 cmdtable = { 277 cmdtable = {
278 "^view": (view, 278 "^view": (view,
279 [('l', 'limit', '', 'limit number of changes displayed')], 279 [('l', 'limit', '', 'limit number of changes displayed')],
280 'hg view [-l LIMIT] [REVRANGE]'), 280 'hg view [-l LIMIT] [REVRANGE]'),