mercurial/archival.py
changeset 5842 111ed8c871bf
parent 4951 667290b6c95e
child 6020 20b05618b3e2
--- a/mercurial/archival.py	Fri Jan 11 14:06:05 2008 -0600
+++ b/mercurial/archival.py	Wed Jan 09 21:30:13 2008 +0900
@@ -15,7 +15,7 @@
     safe for consumers.'''
 
     if prefix:
-        prefix = prefix.replace('\\', '/')
+        prefix = util.normpath(prefix)
     else:
         if not isinstance(dest, str):
             raise ValueError('dest must be string if no prefix')