Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.1, 1.1.1, and 1.1.2

hglib: set TERM=dumb in hgcmd_toq, disabling ANSI coloring

Closes #1155

Changeset b65003fd7e25

Parent 248b28a630fc

by Steve Borho

Changes to one file · Browse files at b65003fd7e25 Showing diff from parent 248b28a630fc Diff from another changeset...

 
331
332
333
334
 
 
 
 
 
 
335
336
337
 
331
332
333
 
334
335
336
337
338
339
340
341
342
@@ -331,7 +331,12 @@
  return True     u = Qui() - return dispatch._dispatch(u, list(args)) + oldterm = os.environ.get('TERM') + os.environ['TERM'] = 'dumb' + ret = dispatch._dispatch(u, list(args)) + if oldterm: + os.environ['TERM'] = oldterm + return ret    def get_reponame(repo):   if repo.ui.config('tortoisehg', 'fullpath', False):