An option to have commit print the new changeset id?

Dirkjan Ochtman dirkjan at ochtman.nl
Fri Aug 22 00:59:08 CDT 2008


Doug Philips wrote:
> It doesn't seem to already exist... and for some of my work flows, it would be very convenient if commit had an option to spit out the changeset id that it just created. Not critical, but definitely nice.
> 
> Any objection to adding an option to do that? I think I could even write it myself. :)

Have you tried commit --debug and commit -v yet? They might just do that 
kind of thing, and not everyone is aware of the global options.

Otherwise, a patch would be welcome, you can make it hinge on -v.

Cheers,

Dirkjan



More information about the Mercurial-devel mailing list