Which improvements to subrepo support made it into 1.7?

Didly Bom didlybom at gmail.com
Tue Nov 2 09:25:50 CDT 2010


On Mon, Nov 1, 2010 at 3:31 PM, Martin Geisler <mg at aragost.com> wrote:

> Didly Bom <didlybom at gmail.com> writes:
>
> > Hi,
> >
> > can you guys tell me which of the recent improvements to subrepo
> > support made it into Mercurial 1.7?
>
> The upcoming release notes are here:
>
>  http://mercurial.selenic.com/wiki/UpcomingReleaseNotes
>
> > We use subrepos quite heavily in our project so I'd like to understand
> > the changes before we deploy 1.7 within our team.
>
> You should test it yourself... we have been in a feature freeze for two
> weeks and this is the time for users like yourself to download and test
> the nightly builds. Don't wait until the day of the release...
>
> See this wiki page for the schedule:
>
>  http://mercurial.selenic.com/wiki/TimeBasedReleasePlan
>
> > I downloaded the latest nightly of the QT branch of TortoiseHg and I
> > saw that the "hg status" command now supports the "-S" option.
> > However, the subrepository changes are not preceded by a line
> > indicating that the modifyied files belong to a subrepo as it was
> > recently discussed on the mailing list.
> >
> > On the other hand, if you don't use the "-S" option "hg status" does
> > not show any of that the subrepo has some changes when a subrepo is
> > "dirty" (as changes in its working copy). I don't know if this is the
> > expected final behaviour of "hg status" or if this is something that
> > may be changed in the future and just did not make it into 1.7.
>
> Well, we don't know. We only know that we'll have to extend this in a
> careful manner since people will now rely on 'hg status -S' behaving in
> a certain way.
>
> --
> Martin Geisler
>
> aragost Trifork
> Professional Mercurial support
> http://aragost.com/mercurial/
>

Thank you both for your answers. It seems that the "subpaths" feature that
lets you remap subrepos also made it into the release. This has the
potential to be really useful! :-)

Angel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20101102/4ce4b6f5/attachment.htm>


More information about the Mercurial mailing list