[issue2518] Inconsistent subrepo recursion

Ethan Tira-Thompson bugs at mercurial.selenic.com
Tue Nov 23 21:31:46 UTC 2010


New submission from Ethan Tira-Thompson <ejt at cmu.edu>:

I just got a little burned by inconsistent subrepo usage.
The problem is that 'hg status' does not show modified files in subrepos 
unless you explicitly add the -S option.  However, 'hg ci' will commit those 
changes by default without flags.
This leads to committing unexpected modifications, which is kind of annoying.

My solution would be to make the '-S' option the default (see Issue1813).  
Instead, provide a -l / --local to *prevent* recursion.  IMHO, if you have 
subrepos, by default you want to include them, not ignore them.  Particularly 
for an information action like status, better safe than sorry.

----------
messages: 14504
nosy: ejtttje
priority: bug
status: unread
title: Inconsistent subrepo recursion

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2518>
____________________________________________________


More information about the Mercurial-devel mailing list