Mercurial > hg
changeset 46515:cd9154343160
softstrip: fix a reference to an undefined variable
`backupfile` wasn't defined if no backup was requested. Let's set it
to `None` by default, which matches what regular `repair.strip()`
does.
Differential Revision: https://phab.mercurial-scm.org/D9985
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 10 Feb 2021 09:49:50 -0800 |
parents | beaa233e81f7 |
children | 921e1253c8ba |
files | mercurial/repair.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff