Marking subrepos in 'hg status'

timeless timeless at gmail.com
Mon Oct 11 04:04:29 CDT 2010


On Mon, Oct 11, 2010 at 11:59 AM, Erik Zielke <ez at aragost.com> wrote:
> Yes. I also think that a special symbol for the subrepo line would make the
> output more clear. Isn't the second option suggested already showing the
> subrepo changes in the end? And a new subrepo line will mark the end of the
> previous sub repository in the output.

Along those lines, are there any characters which are reserved that we
could abuse?

Assuming there aren't...

 $ hg status -S
 M dir/x.txt
 M sub/./a.txt
 A dir/y.txt
 A sub/./b.txt

The fact that there's a /./ or something similar which shouldn't come
in mercurial output normally (but which is harmless pathwise) would
stand out (and thus might work).


More information about the Mercurial-devel mailing list