[PATCH 1 of 1] Add basic subrepo support to 'hg status'

Matt Mackall mpm at selenic.com
Mon Feb 1 09:38:28 CST 2010


On Sun, 2010-01-31 at 21:13 +0100, macke at yar.nu wrote:
> # HG changeset patch
> # User Marcus Lindblom <macke at yar.nu>
> # Date 1264968249 -3600
> # Node ID b0832622ac10c81047279302589b43f460b8139f
> # Parent  b47a9e591e41e81b6836bf9425eabecf80eb7a00
> Add basic subrepo support to 'hg status'
> 
> Shows status recursively, for hg and svn subrepos.
> Does not yet show status of subrepos when --rev is specified.

Hmm, this is not quite the direction I wanted to go in. I was planning
to have a subrepo method that would return a set of lists (modified,
added, removed) to the higher level to display.

Also, simply always displaying status in subrepos will break tools (like
IDE plug-ins) that expect to be able to perform hg operations on files
that are reported by status, so this has to be hidden behind a switch.

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




More information about the Mercurial-devel mailing list