hgext/purge.py
changeset 6746 1dca460e7d1e
parent 6603 41eb20cc1c02
child 6754 0b700faaef32
--- a/hgext/purge.py	Thu Jun 26 13:58:22 2008 -0500
+++ b/hgext/purge.py	Thu Jun 26 13:58:24 2008 -0500
@@ -118,8 +118,8 @@
     # notice a modified README file if the user ran "hg purge readme"
     modified, added, removed, deleted = repo.status()[:4]
     if modified or added or removed or deleted:
-        if not util.checkfolding(repo.path) and not ui.quiet:
-            ui.warn(_("Purging on name mangling filesystems is not "
+        if not util.checkcase(repo.path) and not ui.quiet:
+            ui.warn(_("Purging on case-insensitive filesystems is not "
                       "fully supported.\n"))
         raise util.Abort(_("outstanding uncommitted changes"))