crew: qrefresh -D/-d confusion

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Mon Jun 8 08:20:18 CDT 2009


On Mon, Jun 8, 2009 at 3:05 PM, Giorgos
Keramidas<keramida at ceid.upatras.gr> wrote:
> On Mon, 8 Jun 2009 14:19:06 +0200, Peter Arrenbrecht <peter.arrenbrecht at gmail.com> wrote:
>> qref -D never inserts dates. It only updates them when the original
>> patch already contained them. The idea is that you can safely have
>>
>>   [defaults]
>>   qrefresh = -D
>>
>> in your .hgrc without worrying about adding dates to patches that did
>> not use to have them.
>
> Ok, that makes sense.
>
> Is there any way to explicitly *add* a date though?
>
> Right now the only way I found is to:
>
>    hg qrefresh --git
>    hg export tip > $(hg root)/.hg/patches/my-patch-name
>    hg qrefresh --git -d 'new date'
>
> This works, but it is a bit, uhm, cumbersome...

Not that I know of.
-parren



More information about the Mercurial mailing list