mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-28 10:31:14 +00:00
is_empty() could also return Result<bool, _>, but I think the current definition is also good. If an error occurred, revset.iter() would return at least one item, so it's not empty.