[PATCH] mq: save qrefresh message for easy recovery in case it fails (issue2062)

Matt Mackall mpm at selenic.com
Tue Aug 17 13:34:30 CDT 2010


On Mon, 2010-07-26 at 10:25 -0300, Renato Cunha wrote:
> When I started using mq, I was surprised when I discovered that
> qpushing/qpoping while editing a message would make me lose if forever. With
> time I learned to pay attention to that. Today I was browsing the BTS when I
> found issue 2062 and decided to give it a try.
> 
> My approach copies that of commit in localrepo.py, which saves the message
> before continuing. I used the API that seemed more natural, as there doesn't
> seem to exist a last-message creation API. Also, if the last-message.txt name
> isn't appropriate because it would clash with the name used with commit, I'd
> like to hear from you.
> 
> Regards.
> 
> # HG changeset patch
> # User Renato Cunha <renatoc at gmail.com>
> # Date 1280150464 10800
> # Node ID 231db1ef59393f76c6e9bc5527f6f9a77a65fe2f
> # Parent  c5e555e064d0ceed3a177b656a49f50890d17cfa
> mq: save qrefresh message for easy recovery in case it fails (issue2062)

Queued, thanks.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list