[PATCH] qrefresh += --amend (#933)
John Coomes
John.Coomes at sun.com
Fri Jan 18 15:28:29 CST 2008
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").
-John
More information about the Mercurial-devel
mailing list