Merge branch 'jk/config-die-bad-number-noreturn'
[gitweb.git] / contrib / remote-helpers / git-remote-hg
index 36b526106ba7b3c61b70549770c1ec82f45e1baf..34cda027597f30ddacf340466778404f3705361d 100755 (executable)
@@ -260,6 +260,7 @@ class Parser:
         return (user, int(date), -tz)
 
 def fix_file_path(path):
+    path = os.path.normpath(path)
     if not os.path.isabs(path):
         return path
     return os.path.relpath(path, '/')