facebook / sapling

A Scalable, User-Friendly Source Control System.
https://sapling-scm.com
GNU General Public License v2.0
5.91k stars 269 forks source link

Avoid submitting ancestor PR's that belong to another author. #887

Open daranday opened 2 months ago

daranday commented 2 months ago

Context

Currently, when we do sl pr submit at the top of a stack, all ancestor PRs are resubmitted using local commits. This can accidentally overwrite another author's work with an oudated version of commits.

Request

Can we submit all ancestor PRs except for the ones that doesn't belong to the current author? Thanks for the help!