Mercurial > hg
changeset 2374:ffc2ed61061b
Even on Windows self._repo.dirstate.state() wants '/' in paths
author | demian@gaudron.lan |
---|---|
date | Tue, 16 May 2006 21:05:00 +0200 |
parents | 61976a27aa2b |
children | 9f4f77693890 |
files | purge.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/purge.py Tue May 16 21:03:07 2006 +0200 +++ b/purge.py Tue May 16 21:05:00 2006 +0200 @@ -85,7 +85,8 @@ def _relative_name(self, name): splitted_path = self._split_path(name)[len(self._hg_root):] - return self._join_path(splitted_path) + # Even on Windows self._repo.dirstate.state() wants '/'. + return self._join_path(splitted_path).replace('\\', '/') def _split_path(self, path): ret = []