diff -r 07ca22a72dcc -r 111ed8c871bf mercurial/archival.py --- 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')