Improve `origin_add` logic
to avoid processing twice the history graph of a revision that was already seen as the head of another origin.
Migrated from D7166 (view on Phabricator)
to avoid processing twice the history graph of a revision that was already seen as the head of another origin.
Migrated from D7166 (view on Phabricator)