[PATCH 3 of 3] rebase: introduce 'date' option

Durham Goode durham at fb.com
Thu Nov 5 21:05:00 CST 2015



On 11/5/15 3:05 PM, Augie Fackler wrote:
>> On Nov 5, 2015, at 5:39 PM, Ryan McElroy <rm at fb.com> wrote:
>>
>> On 11/5/2015 6:40 AM, Augie Fackler wrote:
>>> On Tue, Nov 03, 2015 at 10:52:16AM -0800, Stanislau Hlebik wrote:
>>>> # HG changeset patch
>>>> # User Stanislau Hlebik <stash at fb.com>
>>>> # Date 1446576002 28800
>>>> #      Tue Nov 03 10:40:02 2015 -0800
>>>> # Node ID 57ed68cc2a33fb68d1e065e31202eccc3a2168b4
>>>> # Parent  93b187ce4d77839c3576db4d0ee626bbb8089382
>>>> rebase: introduce 'date' option
>>> I'm +0 on this, but wonder if it should also have a --current-date
>>> option, as it strikes me that's the most likely use case. Thoughts?
>> I like the idea of a "--current-date" flag (graft has this, right?), but I don't trust my ability to know what useful ways people will use UI, and "--date now”
> Huh, I didn’t know --date accepted “now”. Neat. Given that, I’m actually inclined to deprecate --current-date pretty much everywhere.
"--date now" is about as discoverable as a kick in the butt (as shown by 
the fact that not even we knew about it).  I like the elegance of it, 
but if 'now' is the primary use case, --current-date is way more 
discoverable.

I don't care enough either way though.  Just throwing that out there.


More information about the Mercurial-devel mailing list