Mercurial > hg
changeset 49043:362312d61020
rust-dirstate-entry: fix typo in panic message
Differential Revision: https://phab.mercurial-scm.org/D12446
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 28 Mar 2022 13:01:42 +0200 |
parents | 524819ab6fde |
children | be9bf75a837c |
files | rust/hg-core/src/dirstate/entry.rs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rust/hg-core/src/dirstate/entry.rs Mon Mar 28 13:00:57 2022 +0200 +++ b/rust/hg-core/src/dirstate/entry.rs Mon Mar 28 13:01:42 2022 +0200 @@ -423,7 +423,7 @@ ) { if !self.any_tracked() { // TODO: return an Option instead? - panic!("Accessing v1_state of an untracked DirstateEntry") + panic!("Accessing v2_data of an untracked DirstateEntry") } let wdir_tracked = self.flags.contains(Flags::WDIR_TRACKED); let p1_tracked = self.flags.contains(Flags::P1_TRACKED);