Shelve extension

marco gaddoni marco.gaddoni at gmail.com
Tue Feb 24 06:13:16 CST 2009


On Mon, Feb 23, 2009 at 23:31, Bill Barry <after.fallout at gmail.com> wrote:
> Martin Geisler wrote:
>
> Bill Barry <after.fallout at gmail.com> writes:
>
>
>
> Peter Hosey wrote:
>
>
> I will say, though, that the index-based procedure to add the missing
> change is much simpler than your mq-based procedure:
>
>
>
> 5.fold the additional fix into mypatch (hg qrecord fix, hg shelve, hg
> qpop, hg qpop, hg qfold mypatch fix, hg qpush, hg unshelve)
>
>
> Git:
> git add -i
>
> It will guide you the rest of the way with its interactive prompts,
> and each of your answers is only one character.
>
>
> This will hopefully be resolved when somebody integrates the record
> functionality into the core and adds hg qrefresh --interactive
>
>
> I think this is called qrecord -- a combination of qnew and record.
>
>
> qrecord is a combination of qnew and record; this should be turned into qnew
> --interactive
> by moving the interactive stuff out of the record extension and into core
> there are other possibilities that can be done:
> hg import --interactive
> hg qrefresh --interactive
> hg backout --interactive
> hg revert --interactive
> hg qfold --interactive
>
> hg record would be hg commit --interactive
>

+1 for me.
this wold be a great GSOC project.

>
> The core functionality should have a method which takes in a patch and
> returns a list of split patches, the first being interactively selected for,
> the second being everything not in the first. When you run a command with  a
> --interactive switch, you would be selecting hunks for use in that command
> (ie the first list element would be used in the command, the second element
> would be left wherever it was before.
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
>



-- 
"Reality continues to ruin my life." - Calvin.



More information about the Mercurial mailing list