mercurial/ui.py
branchstable
changeset 33627 c2c6a0f7408b
parent 33620 cc047a733f69
child 33736 86aca74a063b
child 33755 cde4cfeb6e3e
equal deleted inserted replaced
33626:524b13fc711f 33627:c2c6a0f7408b
  1213                 pass
  1213                 pass
  1214 
  1214 
  1215         # call write() so output goes through subclassed implementation
  1215         # call write() so output goes through subclassed implementation
  1216         # e.g. color extension on Windows
  1216         # e.g. color extension on Windows
  1217         self.write(prompt, prompt=True)
  1217         self.write(prompt, prompt=True)
       
  1218         self.flush()
  1218 
  1219 
  1219         # instead of trying to emulate raw_input, swap (self.fin,
  1220         # instead of trying to emulate raw_input, swap (self.fin,
  1220         # self.fout) with (sys.stdin, sys.stdout)
  1221         # self.fout) with (sys.stdin, sys.stdout)
  1221         oldin = sys.stdin
  1222         oldin = sys.stdin
  1222         oldout = sys.stdout
  1223         oldout = sys.stdout