From b11d38fdf8b828a9c13dbb9796c2ef134959e932 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sun, 30 Apr 2023 14:30:39 -0700 Subject: [PATCH] revset: delete obsolete comment about ambiguous change/commit ids Commit ids and change ids or prefixes of either are never ambiguous since we started using k-z for change ids. --- lib/src/revset.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/revset.rs b/lib/src/revset.rs index c22b788f7..dcedcb4ca 100644 --- a/lib/src/revset.rs +++ b/lib/src/revset.rs @@ -1701,8 +1701,7 @@ pub fn resolve_symbol( return Ok(ids); } - // Try to resolve as a full commit id. We assume a full commit id is unambiguous - // even if it's shorter than change id. + // Try to resolve as a full commit id. if let Some(ids) = resolve_full_commit_id(repo, symbol)? { return Ok(ids); }