Show More
@@ -1,7 +1,7 b'' | |||||
1 | # hg backend for convert extension |
|
1 | # hg backend for convert extension | |
2 |
|
2 | |||
3 | import os, time |
|
3 | import os, time | |
4 | from mercurial import hg |
|
4 | from mercurial import hg, util | |
5 |
|
5 | |||
6 | from common import NoRepo, converter_sink |
|
6 | from common import NoRepo, converter_sink | |
7 |
|
7 | |||
@@ -33,7 +33,7 b' class convert_mercurial(converter_sink):' | |||||
33 | try: |
|
33 | try: | |
34 | util.unlink(self.repo.wjoin(f)) |
|
34 | util.unlink(self.repo.wjoin(f)) | |
35 | #self.repo.remove([f]) |
|
35 | #self.repo.remove([f]) | |
36 | except: |
|
36 | except OSError: | |
37 | pass |
|
37 | pass | |
38 |
|
38 | |||
39 | def putcommit(self, files, parents, commit): |
|
39 | def putcommit(self, files, parents, commit): |
General Comments 0
You need to be logged in to leave comments.
Login now