# HG changeset patch # User demian@gaudron.lan # Date 1147806300 -7200 # Node ID ffc2ed61061b2c4199b93ea1a81a5d200d80e0d0 # Parent 61976a27aa2b8662189091dd96114614c6c7bdfa Even on Windows self._repo.dirstate.state() wants '/' in paths 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 = []