hgext/hgk.py
changeset 24512 e5c5ddc3b172
parent 24511 0ecc1e42ff3f
child 24513 b5a0b2374eb6
equal deleted inserted replaced
24511:0ecc1e42ff3f 24512:e5c5ddc3b172
   347     _('[-l LIMIT] [REVRANGE]'))
   347     _('[-l LIMIT] [REVRANGE]'))
   348 def view(ui, repo, *etc, **opts):
   348 def view(ui, repo, *etc, **opts):
   349     "start interactive history viewer"
   349     "start interactive history viewer"
   350     os.chdir(repo.root)
   350     os.chdir(repo.root)
   351     optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v])
   351     optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v])
       
   352     if repo.filtername is None:
       
   353         optstr += '--hidden'
       
   354 
   352     cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc))
   355     cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc))
   353     ui.debug("running %s\n" % cmd)
   356     ui.debug("running %s\n" % cmd)
   354     ui.system(cmd)
   357     ui.system(cmd)