Patchwork D511: phabsend: make --amend the default

login
register
mail settings
Submitter phabricator
Date Aug. 28, 2017, 7:05 p.m.
Message ID <65a68d7bf05102179c3556e98d1afe08@localhost.localdomain>
Download mbox | patch
Permalink /patch/23435/
State Not Applicable
Headers show

Comments

phabricator - Aug. 28, 2017, 7:05 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG07ffff841863: phabsend: make --amend the default (authored by quark).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D511?vs=1268&id=1360

REVISION DETAIL
  https://phab.mercurial-scm.org/D511

AFFECTED FILES
  contrib/phabricator.py

CHANGE DETAILS




To: quark, #hg-reviewers, indygreg, durin42
Cc: indygreg, mercurial-devel

Patch

diff --git a/contrib/phabricator.py b/contrib/phabricator.py
--- a/contrib/phabricator.py
+++ b/contrib/phabricator.py
@@ -7,9 +7,9 @@ 
 """simple Phabricator integration
 
 This extension provides a ``phabsend`` command which sends a stack of
-changesets to Phabricator without amending commit messages, and a ``phabread``
-command which prints a stack of revisions in a format suitable
-for :hg:`import`, and a ``phabupdate`` command to update statuses in batch.
+changesets to Phabricator, and a ``phabread`` command which prints a stack of
+revisions in a format suitable for :hg:`import`, and a ``phabupdate`` command
+to update statuses in batch.
 
 By default, Phabricator requires ``Test Plan`` which might prevent some
 changeset from being sent. The requirement could be disabled by changing
@@ -339,7 +339,7 @@ 
 
 @command('phabsend',
          [('r', 'rev', [], _('revisions to send'), _('REV')),
-          ('', 'amend', False, _('update commit messages')),
+          ('', 'amend', True, _('update commit messages')),
           ('', 'reviewer', [], _('specify reviewers')),
           ('', 'confirm', None, _('ask for confirmation before sending'))],
          _('REV [OPTIONS]'))