[PATCH 0 of 2 DEFAULT REVIEW] subrepo: support explicit subrepo path for hg forget

David M. Carr david at carrclan.us
Sun Nov 6 20:48:28 UTC 2011


In the past couple months, there's been a lot of discussion about subrepos,
difficulties in using them today, and the path forward.  Following the
addition of support for explicit subrepo paths in "hg add", these patches
attempt to add similar support to "hg forget".

The intent of this change is to change the behavior for the specific case
where an argument to "hg forget" is an exact match for a file in a subrepo,
it effectively performs the forget as if were performed directly on the
subrepo.  The behavior in other cases (patterns, directories, etc.) would not
be changed.

I'm not yet confident that I've gotten this right, and am looking for input
as to what other scenarios or aspects of this command should be considered
and/or tested or otherwise taken into account.  Any feedback will be
appreciated.


More information about the Mercurial-devel mailing list