[illumos-Developer] 259 SCM tools should work with wider range of Mercurial versions

Garrett D'Amore garrett at nexenta.com
Sun Sep 26 11:50:55 PDT 2010


Thanks for fixing this.

	- Garrett

On Sun, 2010-09-26 at 14:27 -0400, Richard Lowe wrote:
> Garrett D'Amore wrote:
> > On Sat, 2010-09-25 at 19:58 -0400, Richard Lowe wrote:
> >> Garrett D'Amore wrote:
> >> > It looks pretty good to me.  I note that this will require folks to be
> >> > running hg 1.3.1 or later.  What happens if someone tries to run their
> >> > existing copy of hg 1.1.2 with this version of cdm?
> >> >
> >> 
> >> It says it's not supported, and lists which versions are.  But really,
> >> 1.1.2 has not been current for a *LONG* time (the version in Solaris
> >> proper was upgraded to 1.3.1 prior to the 2009.06 release).
> >
> > I realize that.  I don't have a problem with it not being supported, I
> > just want to understand the failure mode if someone tries.  Will it just
> > fail to run with a cryptic error, it will it actually give the user an
> > indication that he needs to upgrade?
> >
> 
> Sigh.  It -should- have given you a nice message, but apparently that
> was one of the bits that needed a 1.1 specific workaround.  What fun.
> 
> I will fix the error reporting.  Good catch.
> 
> With that fixed, you get messages like:
>     *** failed to import extension cdm from /builds/work/illumos/il-cdm-16/usr/src/tools/onbld/hgext/cdm.py: Version Mismatch:
>     Scm expects Mercurial version 1.3.1, 1.4.2, 1.5.4, 1.6.2 or 1.6.3, actual version is 1.5.1.
> 
> Thanks,
> 
> -- Rich




More information about the Developer mailing list