diff mercurial/windows.py @ 9576:c156bf947e26

Merge with stable
author Matt Mackall <mpm@selenic.com>
date Sun, 11 Oct 2009 13:54:19 -0500
parents 8b8920209317 1f665246dab3
children f0c5c59d878d
line wrap: on
line diff
--- a/mercurial/windows.py	Thu Oct 08 01:17:48 2009 -0500
+++ b/mercurial/windows.py	Sun Oct 11 13:54:19 2009 -0500
@@ -267,7 +267,7 @@
         head, tail = os.path.split(head)
     while head and tail:
         try:
-            if osutil.listdir(name):
+            if osutil.listdir(head):
                 return
             os.rmdir(head)
         except: