diff --git a/hgext/largefiles/lfutil.py b/hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py +++ b/hgext/largefiles/lfutil.py @@ -564,7 +564,7 @@ elif state == b'm': lfdirstate.normallookup(lfile) elif state == b'r': - lfdirstate.remove(lfile) + lfdirstate.update_file(lfile, p1_tracked=True, wc_tracked=False) elif state == b'a': lfdirstate.add(lfile)