comparison tests/test-rebuildstate.t @ 48002:44fc75bd1580

dirstate: use `reset_state` instead of `dropfile` in test-rebuildstate.t As `dirstatemap.dropfile` is on its way out. Differential Revision: https://phab.mercurial-scm.org/D11442
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 16 Sep 2021 15:21:22 +0200
parents eb1f8d6e9419
children eea70e3539ed
comparison
equal deleted inserted replaced
48001:af84aa1a66f1 48002:44fc75bd1580
23 > p1_tracked=True, 23 > p1_tracked=True,
24 > wc_tracked=True, 24 > wc_tracked=True,
25 > possibly_dirty=True, 25 > possibly_dirty=True,
26 > ) 26 > )
27 > else: 27 > else:
28 > repo.dirstate._map.dropfile(file) 28 > repo.dirstate._map.reset_state(file)
29 > repo.dirstate._dirty = True 29 > repo.dirstate._dirty = True
30 > 30 >
31 > repo.dirstate.write(repo.currenttransaction()) 31 > repo.dirstate.write(repo.currenttransaction())
32 > finally: 32 > finally:
33 > wlock.release() 33 > wlock.release()