diff -r 61976a27aa2b -r ffc2ed61061b purge.py --- 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 = []