docs: Handle revisions that have bookmarks, not just those that are bookmarks
Assisted-by: Claude Opus 4.5 via Claude Code
change onwpqtqrupwrrulktrtzymmzlumxvmpt
commit 077a08bc988a22b1b45d81119168eeb4d8d7a3c5
author Alpha Chen <alpha@kejadlen.dev>
date
parent kumytzus
diff --git a/ai/claude/commands/pr.md b/ai/claude/commands/pr.md
index 371c2cf5..ba1ac2d4 100644
--- a/ai/claude/commands/pr.md
+++ b/ai/claude/commands/pr.md
@@ -10,7 +10,7 @@ Revision must be provided (bookmark, change ID, revset, or commit hash). The rev
 
 When creating a pull request:
 1. Resolve revision to bookmark name:
-   - If revision is already a bookmark, use it directly
+   - If revision is already a bookmark or has a bookmark, use the bookmark directly
    - If revision is a revset/change ID/commit hash and you have context for what to name it, create a descriptive bookmark, track it, and push:
      `jj bookmark create <descriptive-name> -r <revision>`
      `jj bookmark track <descriptive-name>@origin`