mercurial/windows.py
changeset 32706 605f124d1146
parent 32406 a9c71d578a1c
child 33649 739cc0f9cbb4
equal deleted inserted replaced
32705:8b2f735f0107 32706:605f124d1146
   178         try:
   178         try:
   179             return self.fp.flush()
   179             return self.fp.flush()
   180         except IOError as inst:
   180         except IOError as inst:
   181             if inst.errno != errno.EINVAL:
   181             if inst.errno != errno.EINVAL:
   182                 raise
   182                 raise
   183             self.close()
       
   184             raise IOError(errno.EPIPE, 'Broken pipe')
   183             raise IOError(errno.EPIPE, 'Broken pipe')
   185 
   184 
   186 def _is_win_9x():
   185 def _is_win_9x():
   187     '''return true if run on windows 95, 98 or me.'''
   186     '''return true if run on windows 95, 98 or me.'''
   188     try:
   187     try: