mercurial at 12996: 5 new changesets

Eric Eisner ede at mit.edu
Fri Dec 3 21:36:39 CST 2010


On Fri, Dec 3, 2010 at 18:59, Mads Kiilerich <mads at kiilerich.com> wrote:

> We have hghave for this kind of stuff. For example test-convert-mtn.t is
> skipped completely if we don't like the mtn version, and
> test-clone-failure.t, test-git-import.t and test-profile.t use other tricks
> for skipping tests partially.
>
> I guess it could make sense to introduce some kind of smart conditional
> sections in .t tests, but that would make it less shell-like and I don't
> know how a good syntax could look like ...


I'm more concerned with the behavior with random users who have arbitrary
versions of git installed than the test suite. Currently someone with git
1.6 will fail at a commit with an illegal argument error and a long list of
all arguments to git-commit. Everything works now with git 1.7+, but it
would probably take some amount of code complication to support further
back.

Ideally hg commands with a git subrepo should just work or fail with some
indication that a newer git version is the solution.

For reference, the age of various git versions:
git 1.7.0 - Feb 2010
git 1.6.0 - Aug 2008
git 1.5.6.5 - Aug 2008 (debian stable)

-Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20101203/fdba4913/attachment.htm>


More information about the Mercurial-devel mailing list