This is an archive of the discontinued Mercurial Phabricator instance.

phabsend: show associated Differential Revisions with --confirm
ClosedPublic

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

Details

Summary

Often people running phabsend --confirm just want to check whether a
commit will trigger a creation of new Differential Revision, or update an
existing one. This patch implements that. The --confirm message was
changed to use node instead of revision number to be consistent with what
phabsend outputs.

An example output looks like:

D487 - a80f447973a0 test-extension: enable demandimport explicitly
D494 - cf440ea6e47e test-casecollision-merge: fix the test
NEW - 0a6b97147128 phabsend: polish the docstring a bit
Send the above changes to https://phab.mercurial-scm.org/ (yn)?

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
quark updated this revision to Diff 1275.Aug 25 2017, 12:02 AM
indygreg accepted this revision.Aug 25 2017, 12:06 AM
This revision is now accepted and ready to land.Aug 25 2017, 12:06 AM
quark updated this revision to Diff 1279.Aug 25 2017, 12:33 AM
pulkit added a subscriber: pulkit.Aug 26 2017, 7:32 AM

Thanks for this. I was also thinking to add this to the --confirm option.

durin42 accepted this revision.Aug 28 2017, 2:42 PM
This revision was automatically updated to reflect the committed changes.