strip: fix backup command args

This commit is contained in:
RhodeCode Admin 2023-08-28 20:59:37 +02:00
parent 148d5f8463
commit c3e9673c86

View file

@ -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