From 33b01ba13149e8c893ec7a1877d9578c8c403a4f Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 20 Feb 2024 08:55:47 +0000 Subject: refactor: imrpove error msg when trying to create a branch from a proposal when the the parent commit id doesnt exist --- src/git.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/git.rs b/src/git.rs index faeb9f9..63bce20 100644 --- a/src/git.rs +++ b/src/git.rs @@ -372,7 +372,7 @@ impl RepoActions for Repo { if let Ok(last_patch) = patches_to_apply.last().context("no patches") { last_patch } else { - self.checkout(branch_name).context("latest commit in proposal doesnt connect with an existing commit. Try a git pull on master first.")?; + self.checkout(branch_name).context("the parent commit of the proposal doesnt exist in your local repoistory. Try a git pull on master first.")?; return Ok(vec![]); }, "parent-commit", -- cgit v1.2.3