comparison mercurial/commands.py @ 1366:136920d13fc2

Fixed an exception that was caught and improperly forgotten.
author Eric Hopper <hopper@omnifarious.org>
date Fri, 30 Sep 2005 11:06:19 -0700
parents 8cf364c65425
children 965d1db5c95d
comparison
equal deleted inserted replaced
1365:74cf45f8bc19 1366:136920d13fc2
566 break 566 break
567 f.write(z.compress(chunk)) 567 f.write(z.compress(chunk))
568 f.write(z.flush()) 568 f.write(z.flush())
569 except: 569 except:
570 os.unlink(fname) 570 os.unlink(fname)
571 raise
571 572
572 def cat(ui, repo, file1, *pats, **opts): 573 def cat(ui, repo, file1, *pats, **opts):
573 """output the latest or given revisions of files""" 574 """output the latest or given revisions of files"""
574 mf = {} 575 mf = {}
575 if opts['rev']: 576 if opts['rev']: