Mercurial > hg
diff rust/hg-cpython/src/dirstate/item.rs @ 48155:b2af515b4faf
dirstate-item: drop the legacy new_merged constructor
Nobody is calling it anymore. Its purposes has been filled.
Differential Revision: https://phab.mercurial-scm.org/D11599
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 01 Oct 2021 09:14:10 +0200 |
parents | c29d312657d2 |
children | b45c4dc65adc |
line wrap: on
line diff
--- a/rust/hg-cpython/src/dirstate/item.rs Fri Oct 01 09:12:52 2021 +0200 +++ b/rust/hg-cpython/src/dirstate/item.rs Fri Oct 01 09:14:10 2021 +0200 @@ -145,12 +145,6 @@ } @classmethod - def new_merged(_cls) -> PyResult<Self> { - let entry = DirstateEntry::new_merged(); - DirstateItem::create_instance(py, Cell::new(entry)) - } - - @classmethod def new_from_p2(_cls) -> PyResult<Self> { let entry = DirstateEntry::new_from_p2(); DirstateItem::create_instance(py, Cell::new(entry))