Patchwork [3,of,3] rebase: support -M/--reuse-message

login
register
mail settings
Submitter Tony Tung
Date May 15, 2015, 10:54 p.m.
Message ID <31f9abd49e878844a931.1431730477@andromeda.dhcp.thefacebook.com>
Download mbox | patch
Permalink /patch/9108/
State Changes Requested
Headers show

Comments

Tony Tung - May 15, 2015, 10:54 p.m.
# HG changeset patch
# User Tony Tung <tonytung@fb.com>
# Date 1429655379 25200
#      Tue Apr 21 15:29:39 2015 -0700
# Node ID 31f9abd49e878844a931bf9266596e4c8b3b861b
# Parent  dc122dd80665762d8febe2db1a08ce00a63d5ab8
rebase: support -M/--reuse-message

Patch

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -67,6 +67,8 @@ 
     ('e', 'edit', False, _('invoke editor on commit messages')),
     ('l', 'logfile', '',
      _('read collapse commit message from file'), _('FILE')),
+    ('M', 'reuse-message', '',
+     _('use message from revspec as collapse commit message'), _('REVSPEC')),
     ('k', 'keep', False, _('keep original changesets')),
     ('', 'keepbranches', False, _('keep original branch names')),
     ('D', 'detach', False, _('(DEPRECATED)')),