mercurial/patch.py
changeset 12032 ad787252fed6
parent 11820 75de514a50f3
child 12070 fddacca3202e
--- a/mercurial/patch.py	Wed Aug 25 13:40:46 2010 +0200
+++ b/mercurial/patch.py	Wed Aug 25 16:23:32 2010 +0200
@@ -918,7 +918,7 @@
     nulla = afile_orig == "/dev/null"
     nullb = bfile_orig == "/dev/null"
     abase, afile = pathstrip(afile_orig, strip)
-    gooda = not nulla and util.lexists(afile)
+    gooda = not nulla and os.path.lexists(afile)
     bbase, bfile = pathstrip(bfile_orig, strip)
     if afile == bfile:
         goodb = gooda