# HG changeset patch # User RhodeCode Admin # Date 2023-08-28 18:59:37 # Node ID 79ec596445b9f14e6ecafb3e5e2a7028dc9fe5ce # Parent 2ffcea0cc57aaa873d8ff236b1ae933623745d45 strip: fix backup command args 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