hg summary?

Kevin Grover kevin at kevingrover.net
Mon Oct 19 20:08:57 UTC 2009


Is this in the official build?  I could not find it.  Google did not help.

I was considering jumping in and writing it myself, but have not had time to
look into the internals of hg.

I definitely think this should be on official command, not an extension.
It's one of the few things I miss from svn.


On Sat, Oct 17, 2009 at 5:11 PM, Mike Meyer <mwm at mired.org> wrote:

> On Sat, 17 Oct 2009 18:24:32 -0500
> Matt Mackall <mpm at selenic.com> wrote:
>
> > On Sun, 2009-10-18 at 01:17 +0200, Mario Palomo wrote:
> > > 2009/10/17 Matt Mackall <mpm at selenic.com>:
> > > [...]
> > > > branch, resolve, and log. It might look something like this:
> > > >
> > > > $ hg summary
> > > [...]
> > >
> > >
> > > What do you think about the name "hg info"? This remember me the "svn
> > > info" command, and "info" is shorter than "summary".
> >
> > I'm sticking with summary. It abbreviates nicely to 'sum'. And copying
> > the command names from other tools can get us into trouble if the
> > command doesn't operate -very- similarly. SVN's info works rather
> > differently than what I'm proposing:
>
> I think that's a good call. svn (and p4's, for that matter) info are
> generally information about the repository, not the working copy.
>
> In fact, the first thing I wrote for hg when I started using it was an
> info command, to tell me about the repository:
>
> bhuda% hg info
> Repository: /export/home/mwm/external-src/hg
> Base Hash: 9117c6561b0bd7792fa13b50d28239d51b78e51f
> Revisions: 8651
> Files: 1038
> Cloned From: http://selenic.com/repo/hg
>
>       <mike
> --
> Mike Meyer <mwm at mired.org>
> http://www.mired.org/consulting.html
> Independent Network/Unix/Perforce consultant, email for more information.
>
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20091019/f28fb143/attachment-0001.html>


More information about the Mercurial mailing list