diff hgext/purge.py @ 6748:1dca460e7d1e

rename checkfolding to checkcase
author Matt Mackall <mpm@selenic.com>
date Thu, 26 Jun 2008 13:58:24 -0500
parents 41eb20cc1c02
children 0b700faaef32
line wrap: on
line diff
--- a/hgext/purge.py
+++ b/hgext/purge.py
@@ -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"))