[PATCH] Kludge to use --git format patch in hg log

Thomas Arendsen Hein thomas at intevation.de
Mon Jan 7 16:10:52 CST 2008


* Alexis S. L. Carvalho <alexis at cecm.usp.br> [20070217 09:06]:
> Thus spake tailgunner at smtp.ru:
> > Add -g/--git option to "hg log" to get sensible diff of renamed files
> 
> There's the general question of whether all commands that print diffs
> should get a --git option.  This patch would make it trivial to add
> --git to all commands that use cmdutil.show_changeset (tip, heads,
> incoming, outgoing, ...).  Do we want that?

Yes, I think we want that.

Additionally I think some log options (e.g. -C) should be supported
by other log-printing commands, too.

Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list