diff mercurial/windows.py @ 20202:a6014018ec28

util: remove unused realpath (issue4063) util.realpath was in use for only 5 days from dbdb777502dc until it was backed out in c519cd8f0169 because it caused issue3077 and issue3071.
author Christian Ebert <blacktrash@gmx.net>
date Sun, 29 Dec 2013 13:54:04 +0000
parents cafa447a7d3b
children 234e4c24b980
line wrap: on
line diff
--- a/mercurial/windows.py	Wed Jan 01 17:57:48 2014 -0500
+++ b/mercurial/windows.py	Sun Dec 29 13:54:04 2013 +0000
@@ -133,15 +133,6 @@
 def normcase(path):
     return encoding.upper(path)
 
-def realpath(path):
-    '''
-    Returns the true, canonical file system path equivalent to the given
-    path.
-    '''
-    # TODO: There may be a more clever way to do this that also handles other,
-    # less common file systems.
-    return os.path.normpath(normcase(os.path.realpath(path)))
-
 def samestat(s1, s2):
     return False