hg ci -p?

Rusty Russell rusty at rustcorp.com.au
Thu Sep 15 21:21:14 CDT 2005

On Thu, 2005-09-15 at 10:07 -0700, Matt Mackall wrote:
> On Thu, Sep 15, 2005 at 09:42:37PM +1000, Rusty Russell wrote:
> > Mercurial lists the files changed, at checkin.  Some of these haven't
> > actually changed, so I have to go out and do a diff just to check.
> > Also, I tend to need another window to hold the diff so I can write a
> > sensible change in complex cases.
> > 
> > It'd be nice to have:
> > (1) unchanged files not listed in the ci summary,
> Are you using tip? Formerly (0.6c) commit was showing files that changed
> relative to either parent at merge time. Now (tip) it shows files that
> changed relative to both.

Hmm, OK, if it happens again I'll stop and do analysis.  It was
definitely the case (0.6c) that files showed up there that weren't in
"hg diff", and I didn't play with perms, but perhaps only happened when
two parents.  It was certainly confusing.

> > (2) an option (-p seems consistent) to show the whole patch below the ci
> > message,
> See the hgeditor script. Feel free to customize it.


> > (3) the nonsensical description of the -f option to commit in the man
> > page cleared up.
> Hmmm, don't remember that option, but this no longer seems to be a problem.

Oops, I meant -l, and it was fixed in 069b4311a81b41ea.  

Sorry for the cycles,
A bad analogy is like a leaky screwdriver -- Richard Braakman

More information about the Mercurial mailing list