Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hook.py @ 17251:98166640b356 stable
help: fix some instances of 'the the'
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 26 Jul 2012 02:54:13 +0200 |
parents | 1b2b727a885f |
children | 72803c8edaa4 |
comparison
equal
deleted
inserted
replaced
17250:18f935b4c05a | 17251:98166640b356 |
---|---|
64 raise util.Abort(_('%s hook is invalid ' | 64 raise util.Abort(_('%s hook is invalid ' |
65 '("%s" is not callable)') % | 65 '("%s" is not callable)') % |
66 (hname, funcname)) | 66 (hname, funcname)) |
67 try: | 67 try: |
68 try: | 68 try: |
69 # redirect IO descriptors the the ui descriptors so hooks | 69 # redirect IO descriptors to the ui descriptors so hooks |
70 # that write directly to these don't mess up the command | 70 # that write directly to these don't mess up the command |
71 # protocol when running through the command server | 71 # protocol when running through the command server |
72 old = sys.stdout, sys.stderr, sys.stdin | 72 old = sys.stdout, sys.stderr, sys.stdin |
73 sys.stdout, sys.stderr, sys.stdin = ui.fout, ui.ferr, ui.fin | 73 sys.stdout, sys.stderr, sys.stdin = ui.fout, ui.ferr, ui.fin |
74 | 74 |