Marking subrepos in 'hg status'
Erik Zielke
ez at aragost.com
Mon Oct 11 04:39:39 CDT 2010
2010/10/11 timeless <timeless at gmail.com>
> 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).
>
Special symbol was a bad choice of words, since I just meant another
character than those already used to describe the status of each file, as
Didley suggested.
I am not sure that /./ will stand out enough to mark that the file is in a
subrepository.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20101011/827ae3f3/attachment.htm>
More information about the Mercurial-devel
mailing list