Partial commits made easy

Andreas Axelsson andreas.axelsson at gmail.com
Sun Jul 13 13:56:52 CDT 2008


> -----Original Message-----
> From: mercurial-bounces at selenic.com [mailto:mercurial-
> bounces at selenic.com] On Behalf Of Douglas Philips
> Sent: den 13 juli 2008 15:20
> To: Mercurial Users
> Subject: Re: Partial commits made easy
> 
> On 2008 Jul 13, at 6:29 AM, Andreas Axelsson indited:
> 
> > A nice feature in Perforce is that as you bring up the editor for a
> > commit message, all the files to be committed are listed below the
> > check in comment, just as in Mercurial. However, if you remove any
> > files from the list, they aren't committed and stay in their
> > modified state. Compare with git's "add" command. It's quite a nice
> > feature to have when you want to commit a subset of a list of files
> > for which there are no simple wildcards.
> 
> I hope that doesn't become standard behaviour. The list of files there
> is a comment reminding the commit message writer of what is going to
> be committed. I ignore the list if it is small; if not I delete the
> entire thing so that I have more screen real estate to enter my commit
> message. Just my buck-two-fitty.
> 	--Doug

The files list is below your comment anyway, in what way are they taking up
space? They get pushed down as you write, correct?

Anyway, it could of course be a configurable option, or extension, or
whatever makes most sense.

/axl





More information about the Mercurial mailing list