pub fn ensure_editable(rev: &Revision, actor: &Actor) -> AppResult<()>Expand description
Fails unless actor may modify rev right now: everything of
ensure_checkout_possible and the revision is checked out by the
actor. Every change to attributes, files and BOM requires the lock.