howto suspend work

Isaac Jurado diptongo at gmail.com
Wed Jun 3 18:24:49 CDT 2009


> On Wednesday, 3. June 2009 16:40:32 Isaac Jurado wrote:
> >     hg diff >test_backup.patch
> >     hg revert -a --no-backup
>
> Damn, that's elegant!

Thanks!

> Going with that instead of my solution might be more useful :) 

I think shelve does essentially the same.  I'll have to try it sooner or
later, as I think I could understand it better than mq.

> "hg update -C" should also work instead of revert, I think.

I agree, and it's shorter to type :-)

-- 
Isaac Jurado
http://www.krenel.net

"The noblest pleasure is the joy of understanding."
                                  Leonardo da Vinci


More information about the Mercurial mailing list