diff --git a/rhodecode/lib/vcs/backends/hg/repository.py b/rhodecode/lib/vcs/backends/hg/repository.py --- a/rhodecode/lib/vcs/backends/hg/repository.py +++ b/rhodecode/lib/vcs/backends/hg/repository.py @@ -270,7 +270,7 @@ class MercurialRepository(BaseRepository return MercurialDiff(diff) def strip(self, commit_id, branch=None): - self._remote.strip(commit_id, update=False, backup="none") + self._remote.strip(commit_id, update=False, backup=False) self._remote.invalidate_vcs_cache() # clear cache