comparison mercurial/hg.py @ 667:31a9aa890016

A number of minor fixes to problems that pychecker found. # HG changeset patch # User mark.williamson@cl.cam.ac.uk # Node ID 55d38977b7f2e73b8c1090179928ac96c8922b90 # Parent b3bba126b04ab2f24274a1bcf5a224c6317c8e0d A number of minor fixes to problems that pychecker found.
author mark.williamson@cl.cam.ac.uk
date Sun, 10 Jul 2005 16:01:11 -0800
parents 2c83350784c3
children 8aa2a282eda4
comparison
equal deleted inserted replaced
666:0100a43788ca 667:31a9aa890016
762 self.ui.note(f + "\n") 762 self.ui.note(f + "\n")
763 try: 763 try:
764 mf1[f] = util.is_exec(self.wjoin(f), mf1.get(f, False)) 764 mf1[f] = util.is_exec(self.wjoin(f), mf1.get(f, False))
765 t = self.wfile(f).read() 765 t = self.wfile(f).read()
766 except IOError: 766 except IOError:
767 self.warn("trouble committing %s!\n" % f) 767 self.ui.warn("trouble committing %s!\n" % f)
768 raise 768 raise
769 769
770 meta = {} 770 meta = {}
771 cp = self.dirstate.copied(f) 771 cp = self.dirstate.copied(f)
772 if cp: 772 if cp: