Shelve extension
Peter Arrenbrecht
peter.arrenbrecht at gmail.com
Mon Nov 17 12:43:05 CST 2008
On Mon, Nov 17, 2008 at 7:15 PM, Bastian Doetsch <bastian.doetsch at gmx.de> wrote:
> Am Montag, den 17.11.2008, 12:45 -0500 schrieb Joe Turpin:
>
> On Mon, Nov 17, 2008 at 11:43 AM, Gabor Grothendieck
> <ggrothendieck at gmail.com> wrote:
>
> <snip>
>
> Am I missing something?
> Is there some other way that this is usually done?
>
> I do this using Mercurial Queues. In your case:
>
> $ hg qnew -f working_dir_changes.patch
> $ hg qpop
> $ hg up -r desired_rev
>
> when done working in the non-tip revision, just do:
>
> $ hg up
> $ hg qpush
>
> And to get changes committed to the repository:
>
> qrefresh
> qdelete -r <revision-you-want-to-transfer-to-repo> (e.g. qtip)
qdelete -r can now be written as qfinish, which is a little more obvious.
-parren
More information about the Mercurial
mailing list