Open Bug 1998480 Opened 1 year ago Updated 1 month ago

jujutsu - `moz-phab patch -a here` should automatically pick the parent rev if the working copy rev is an empty rev (and not warn)

Categories

(Conduit :: moz-phab, defect)

defect

Tracking

(Not tracked)

People

(Reporter: Gijs, Unassigned)

References

(Blocks 1 open bug)

Details

moz-phab version (from moz-phab version): 2.7.2

As per summary. Typically in jj you're on an empty revision when using e.g. jj git fetch && jj new main (you can't jj edit main).

If at that point you run moz-phab patch -a here it spits out a warning that you're applying patches to an empty revision:

Warning: Target revision is empty.

before creating a bookmark at that revision.

The subsequent jj log seems to show that the empty revision got replaced/amalgamated/whatever as it is no longer there in the resulting tree. But it would be nice if this warning was avoided.

You need to log in before you can comment on or make changes to this bug.