selective file commit in the checkin message

Sean Farley sean.michael.farley at gmail.com
Tue Jun 11 16:29:00 CDT 2013


David Champion writes:

> * On 11 Jun 2013, riz.plate wrote: 
>> I remember that way back I think I could remove the files in the checkin
>> message and the cvs would not check those in.
>> 
>> Do you think it is a good idea for a new feature? i.e. if the files are
>> removed from checkin message/template , those files are removed from the
>> checkin.
>
> I think that sounds pretty easy to implement in a shell script, if it's
> something you need very often.
>
> [alias]
> ci = ! hg-selective-commit

Check out the 'hg uncommit' command from the evolve extension:

http://mercurial.selenic.com/wiki/EvolveExtension

and also, most definitely, the record extension:

http://mercurial.selenic.com/wiki/RecordExtension


More information about the Mercurial-devel mailing list