[PATCH] Display a oneline description while initialising a repo with hg init

Yuya Nishihara yuya at tcha.org
Sun Oct 10 03:22:48 CDT 2010


Azhagu Selvan SP wrote:
> On Sat, 2010-10-09 at 16:46 +0200, Martin Geisler wrote:
> > Azhagu Selvan SP <tamizhgeek at gmail.com> writes:
> > 
> > > On Fri, 2010-10-08 at 07:50 -0500, Matt Mackall wrote:
> > >> On Fri, 2010-10-08 at 15:28 +0530, Azhagu Selvan SP wrote:
> > >> > # HG changeset patch
> > >> > # User Azhagu Selvan SP <tamizhgeek at gmail.com>
> > >> > # Date 1286531511 -19800
> > >> > # Node ID 42ecd7f2277a805cd8c1429ceaaf12071b8a1fd8
> > >> > # Parent  64db820c66a29ee3b57e452d77be00ed5be675ef
> > >> > Display a oneline description while initialising a repo with hg init
> > >> 
> > >> Thanks, but I'd rather not. Mercurial is intentionally not chatty.
> > >
> > > but it does show what it's doing during almost all other operations.
> > > Only during init it remains silent!
> > 
> > It does not give any output for commands that are fast and complete
> > succesfully -- such as 'hg add', 'hg remove', 'hg revert', and many
> > other commands.
> > 
> > This follows a long tradition on Unix where programs only give output
> > when things fail.
> 
> Am I missing something - Hg always prints like 'adding a.py' while I do
> hg add a.py for me?

Maybe you typed 'hg add' with no arg?

% hg add a.py 

% hg add
adding a.py


More information about the Mercurial-devel mailing list