changeset 5343:26692d08c2f9

convert: delete empty directories if deleting a file (bug 754)
author Bryan O'Sullivan <bos@serpentine.com>
date Sat, 29 Sep 2007 21:08:14 -0700
parents 88e931f74e8b
children 002fe2f364f5 cc34be74eeec
files hgext/convert/hg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/hg.py	Mon Sep 24 19:00:11 2007 -0300
+++ b/hgext/convert/hg.py	Sat Sep 29 21:08:14 2007 -0700
@@ -31,7 +31,7 @@
 
     def delfile(self, f):
         try:
-            os.unlink(self.repo.wjoin(f))
+            util.unlink(self.repo.wjoin(f))
             #self.repo.remove([f])
         except:
             pass