RFC: adding a 'qsplit' command to interactively split an mq patch
Idan K
idankk86 at gmail.com
Mon Apr 11 09:40:39 CDT 2011
On Mon, Apr 11, 2011 at 3:48 PM, Augie Fackler <durin42 at gmail.com> wrote:
> I think I'd be more interested in an 'hg qpop --no-changes' which would pop
> a patch without updating the files in the working copy, since if we had that
> you could just use qrecord for patch splitting needs and other types of
> trickery.
>
I'm no bash guru by any standards but won't this do the trick?
alias qpop-no-changes='hg qpop && (pushd $(hg root) > /dev/null && patch -p1
< .hg/patches/$(hg qnext) && popd > /dev/null)'
I still think a dedicated command is better though, since it saves a couple
more commands that will be needed to get the end result.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110411/c4bcda4e/attachment.htm>
More information about the Mercurial-devel
mailing list