hgext/purge.py
changeset 7570 e05aa73ce2b7
parent 7280 810ca383da9c
child 7605 3e592067515d
--- a/hgext/purge.py	Wed Dec 31 18:00:35 2008 -0600
+++ b/hgext/purge.py	Fri Jan 02 22:53:33 2009 +0100
@@ -64,7 +64,7 @@
     def remove(remove_func, name):
         if act:
             try:
-                remove_func(os.path.join(repo.root, name))
+                remove_func(repo.wjoin(name))
             except OSError:
                 m = _('%s cannot be removed') % name
                 if opts['abort_on_err']: