##// END OF EJS Templates
subrepo: use vfs.unlink instead of os.remove...
FUJIWARA Katsunori -
r24691:def1145c default
parent child Browse files
Show More
@@ -1626,11 +1626,10 b' class gitsubrepo(abstractsubrepo):'
1626 1626 for f, kind in self.wvfs.readdir():
1627 1627 if f == '.git':
1628 1628 continue
1629 path = os.path.join(self._abspath, f)
1630 1629 if kind == stat.S_IFDIR:
1631 1630 self.wvfs.rmtree(f)
1632 1631 else:
1633 os.remove(path)
1632 self.wvfs.unlink(f)
1634 1633
1635 1634 def archive(self, archiver, prefix, match=None):
1636 1635 total = 0
General Comments 0
You need to be logged in to leave comments. Login now