Mercurial > hg
comparison rust/hg-core/src/dirstate_tree/owning_dispatch.rs @ 48048:76f1c76186a1
dirstate: Remove return boolean from dirstatemap.dropfile
None of the remaining callers use it.
Differential Revision: https://phab.mercurial-scm.org/D11491
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Thu, 23 Sep 2021 15:26:33 +0200 |
parents | 9b2a51b2c36a |
children | 2ac0e6b23222 |
comparison
equal
deleted
inserted
replaced
48047:9b2a51b2c36a | 48048:76f1c76186a1 |
---|---|
53 in_merge: bool, | 53 in_merge: bool, |
54 ) -> Result<(), DirstateError> { | 54 ) -> Result<(), DirstateError> { |
55 self.get_mut().remove_file(filename, in_merge) | 55 self.get_mut().remove_file(filename, in_merge) |
56 } | 56 } |
57 | 57 |
58 fn drop_file(&mut self, filename: &HgPath) -> Result<bool, DirstateError> { | 58 fn drop_file(&mut self, filename: &HgPath) -> Result<(), DirstateError> { |
59 self.get_mut().drop_file(filename) | 59 self.get_mut().drop_file(filename) |
60 } | 60 } |
61 | 61 |
62 fn clear_ambiguous_times( | 62 fn clear_ambiguous_times( |
63 &mut self, | 63 &mut self, |