[PATCH] qrefresh += --amend (#933)

Kirill Smelkov kirr at landau.phys.spbu.ru
Fri Jan 18 15:53:30 CST 2008


On Fri, Jan 18, 2008 at 01:28:29PM -0800, John Coomes wrote:
> Kirill Smelkov (kirr at landau.phys.spbu.ru) wrote:
> > # HG changeset patch
> > # User Kirill Smelkov <kirr at mns.spb.ru>
> > # Date 1200685207 -10800
> > # Node ID 48fa1430786a31d4e31d80832c4d9215268e25e4
> > # Parent  fb93c774dffff3601835102fdb57417428307cba
> > qrefresh += --amend  (#933)
> > 
> > It would be handy to say 'hg qrefresh file.txt' to add changes made to file.txt
> > to current patch.
> > 
> > Unfortunately this is not qrefresh behaviour -- it just excludes everything but
> > file.txt from refreshed patch. We discussed this on irc, and it seems people
> > are against changing this behaviour becuase of backward compatibility.
> > 
> > So here it comes 'hg qrefresh --amend ...' for folks like me who wants just to
> > incrementally refresh their patches.
> > ...
> 
> Seems useful.  I missed the IRC discussion, so I'm curious why the
> option is "--amend"; my first thought would have been "--add" (or
> possibly "--append").

I was comparing 'hg qrefresh' with 'darcs amend-record' there.
I'm also ok with both --append or --add.

-- 
    Всего хорошего, Кирилл.
    http://landau.phys.spbu.ru/~kirr/aiv/


More information about the Mercurial-devel mailing list