hg commit doesn't catch changes made during editing of commit messages

Thomas Arendsen Hein thomas at intevation.de
Wed Aug 24 12:12:18 CDT 2005


* Michal Kvasnica <kvasnica at control.ee.ethz.ch> [20050824 18:59]:
> so "hg commit" using the external editor didn't catch the changes made
> during editing the commit message. Is this the desired behavior?

It is already planned to change this.

> If it
> is, then the following:
> 
> $ hg diff
> [nothing]
> 
> should certainly show the second modification. But it doesn't.

You're right. Cloning the repo and copying back the .hg/dirstate
will work around this problem.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/


More information about the Mercurial mailing list