[PATCH 2 of 2] rollback: tell the user their previous commit message was saved

Matt Mackall mpm at selenic.com
Sat Nov 21 18:11:47 CST 2009


On Sat, 2009-11-21 at 17:11 -0500, Greg Ward wrote:
> # HG changeset patch
> # User Greg Ward <greg-hg at gerg.ca>
> # Date 1258840694 18000
> # Node ID 70532501cffb1b5869f1f97c4bac10262b98dfb4
> # Parent  14424eaaae621395167ace250d6e48488ff75519
> rollback: tell the user their previous commit message was saved
> (issue1635)

I don't think this is the right place for this message as it'll be shown
for unrelated rollbacks.

Better places:

commands.py:commit
localrepo.commit
localrepo.commitctx

We might also want to skip the message if we used -m.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list