This is an archive of the discontinued Mercurial Phabricator instance.

phabsend: make --amend the default
ClosedPublic

Authored by quark on Aug 24 2017, 9:15 PM.

Details

Summary

The local tag feature was intended to make phabsend closer to email
workflow. But its experience is not great in multiple ways:

  • after rebase, obsoleted changesets are still visible because of tags
  • without obsstore, the association information will get lost
  • even with obsstore, things could go wrong with graft, export+import
  • no easy way to tell which Differential Revision a commit is associated

Therefore make --amend the default. People wanting the old behavior can
use --no-amend.

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

quark created this revision.Aug 24 2017, 9:15 PM
indygreg accepted this revision.Aug 24 2017, 11:50 PM
indygreg added a subscriber: indygreg.

I suspect most Mercurial developers are using evolve. So this seems reasonable.

This revision is now accepted and ready to land.Aug 24 2017, 11:50 PM
durin42 accepted this revision.Aug 28 2017, 2:42 PM
This revision was automatically updated to reflect the committed changes.