[Bug 4963] New: Add the -D option for commit --amend

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Nov 23 12:21:45 UTC 2015


https://bz.mercurial-scm.org/show_bug.cgi?id=4963

            Bug ID: 4963
           Summary: Add the -D option for commit --amend
           Product: Mercurial
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: dee at earlsoft.co.uk
                CC: mercurial-devel at selenic.com

When I'm working with changes that have a few distinct sections, I often use
commit --amend to update the repository (after reviewing). While I'm doing
this, the only way to use the current time is to specify -d "2015-11-23 12:15"
and change it for each amend. (I'm not sure when I may do a new commit)

When I use patches, qrefresh has a -D option to specify "now".

Is it possible to add -D to the commit command? In most cases, it will be
implied anyway (due to lack of -d on a normal commit) but for --amend, it will
force it up to the current time.

Many thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list