changeset 47723 | 0ed2f74f6e3a |
parent 47716 | 2d0717b135c9 |
child 47724 | b0a39b666e2d |
--- a/hgext/largefiles/lfutil.py Mon Jul 19 05:46:16 2021 +0200 +++ b/hgext/largefiles/lfutil.py Mon Jul 19 02:44:11 2021 +0200 @@ -229,9 +229,12 @@ if len(standins) > 0: vfs.makedirs(lfstoredir) - for standin in standins: - lfile = splitstandin(standin) - lfdirstate.normallookup(lfile) + with lfdirstate.parentchange(): + for standin in standins: + lfile = splitstandin(standin) + lfdirstate.update_file( + lfile, p1_tracked=True, wc_tracked=True, possibly_dirty=True + ) return lfdirstate