[PATCH 1 of 2] Add 'goutgoing' command to graphlog extension

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Fri Nov 21 00:42:42 CST 2008


On Thu, Nov 20, 2008 at 11:33 PM, Dirkjan Ochtman <dirkjan at ochtman.nl> wrote:
> Alpar Juttner <alpar <at> cs.elte.hu> writes:
>> Add 'goutgoing' command to graphlog extension
>>
>> It accects the same options as the 'outgoing' command, except for
>> --newest-first.
>
> I was wondering last night if it would be more intuitive if we had --graph
> options instead for log, incoming and outgoing (using wrap command, or maybe
> even by integrating graph stuff into core -- I think it has proven its worth).

This would still leave export without email's --outgoing option. What
we need is centralized, full-featured cset walking, which can then be
used by all of the commands the process a selection of csets: log,
glog, outgoing, incoming, export, email, maybe even bundle. Options to
consider: rev-range, prune, follow, outgoing, incoming, unmerged.

If in the end we design the ui as `hg outgoing --graph` or `hg glog
--outgoing` (or both) will just be two sides of the same coin.

I strongly favour incorporating the graphing stuff into core. But if
we do, then may I suggest we include the patch that allows >2 parents
so it's more generally useful? If this is acceptable, then I'll
provide some tests for it.

Sadly, I do not at the moment have time to work on a centralized cset
walker myself, but if anyone has, I believe this would be a good
direction.

-parren


More information about the Mercurial-devel mailing list