This is an archive of the discontinued Mercurial Phabricator instance.

commit: don't change phases for preexisting commits
ClosedPublic

Authored by danchr on Oct 28 2020, 11:19 AM.

Details

Summary

I noticed when pulling with hg-git in a repository that already had
the changes, but pulled from another Mercurial repository. This meant
that hg-git would re-create exact matches of the changesets, and
if they were public, they'd get reverted to drafts.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

danchr created this revision.Oct 28 2020, 11:19 AM
danchr updated this revision to Diff 23312.Oct 28 2020, 11:21 AM
danchr updated this revision to Diff 23313.
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.
danchr edited the summary of this revision. (Show Details)
danchr updated this revision to Diff 23318.
danchr edited the summary of this revision. (Show Details)Oct 29 2020, 3:03 AM
danchr updated this revision to Diff 23353.
danchr updated this revision to Diff 23355.Oct 29 2020, 3:10 AM