[PATCH 1 of 2] localrepo: filter out subrepos from status checks

Matt Mackall mpm at selenic.com
Wed Dec 9 13:01:12 CST 2009


On Wed, 2009-12-09 at 12:50 -0600, Augie Fackler wrote:
> On Tue, Dec 8, 2009 at 3:27 PM, Matt Mackall <mpm at selenic.com> wrote:
> > On Tue, 2009-12-08 at 15:15 -0600, durin42 at gmail.com wrote:
> >> # HG changeset patch
> >> # User Augie Fackler <durin42 at gmail.com>
> >> # Date 1260291595 21600
> >> # Node ID 7bb991c4c3da3996272858798959de9de48e4f99
> >> # Parent  4e3a8f3e9dc26dcc08bd7d134906a6e3043b1118
> >> localrepo: filter out subrepos from status checks
> >
> > Can't say I'm excited about this approach. I would have thought the way
> > to do this would be to tell dirstate about subrepos in some fashion,
> > possibly via some ignore-like magic.
> 
> Does it make more sense to add an "External" status, marked by an "X"
> in hg status output, or just hide it from status output completely?

I'd say hide completely for now.

Eventually, we're going to want to expand status to indicate that things
are happening in subrepos. My gut sense is that we'll do this by adding
yet another list to the status tuple, and probably show it as:

S somelib

I think 'external' is an SVNism.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list