Mercurial > hg
diff hgext/convert/hg.py @ 5344:002fe2f364f5
convert: fix missing import
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 30 Sep 2007 12:08:33 +0200 |
parents | 26692d08c2f9 |
children | 9c0f864fddca |
line wrap: on
line diff
--- a/hgext/convert/hg.py Sat Sep 29 21:08:14 2007 -0700 +++ b/hgext/convert/hg.py Sun Sep 30 12:08:33 2007 +0200 @@ -1,7 +1,7 @@ # hg backend for convert extension import os, time -from mercurial import hg +from mercurial import hg, util from common import NoRepo, converter_sink @@ -33,7 +33,7 @@ try: util.unlink(self.repo.wjoin(f)) #self.repo.remove([f]) - except: + except OSError: pass def putcommit(self, files, parents, commit):