diff --git a/cli/src/commands/debug.rs b/cli/src/commands/debug.rs index 14d2908e2b..32e93bd00a 100644 --- a/cli/src/commands/debug.rs +++ b/cli/src/commands/debug.rs @@ -19,7 +19,7 @@ use std::io::Write as _; use clap::Subcommand; use jj_lib::backend::ObjectId; use jj_lib::default_index_store::{DefaultIndexStore, ReadonlyIndexWrapper}; -use jj_lib::local_working_copy::{LocalWorkingCopy, LockedLocalWorkingCopy}; +use jj_lib::local_working_copy::LocalWorkingCopy; use jj_lib::revset; use jj_lib::working_copy::WorkingCopy; @@ -276,6 +276,8 @@ fn cmd_debug_watchman( command: &CommandHelper, subcommand: &DebugWatchmanSubcommand, ) -> Result<(), CommandError> { + use jj_lib::local_working_copy::LockedLocalWorkingCopy; + let mut workspace_command = command.workspace_helper(ui)?; let repo = workspace_command.repo().clone(); match subcommand {