#10267·jj

Confusing "Warning: No matching entries for paths: foo" when revset only deletes path `foo`

Author: martinvonzCreated Sep 26, 2026Updated Sep 26, 2026

Description

Steps to Reproduce the Problem

  1. Initialize a repo that adds file foo and then deletes it:
bash
jj git init
touch foo
jj new
rm foo
  1. Log current revision restricted by path foo: jj log -r @ foo

Expected Behavior

Something like this:

@  nsoznqsz [email protected] 2026-09-25 17:27:19 fd946a38
│  (no description set)
~

Actual Behavior

Also a warning:

@  nsoznqsz [email protected] 2026-09-25 17:27:19 fd946a38
│  (no description set)
~
Warning: No matching entries for paths: foo

Specifications

  • Platform: macOS
  • Version: 0.45.1