trees extension doesn't work with hg 3.8.3
Tim Bell
tim.bell at oracle.com
Fri Jul 8 14:33:28 UTC 2016
Hello Doug:
> server3:~ graal$ hg version
> Mercurial Distributed SCM (version 3.8.3)
> (see https://mercurial-scm.org for more information)
>
> Copyright (C) 2005-2016 Matt Mackall and others
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> server3:~ graal$ hg --config extensions.trees=trees/trees.py tclone --noupdate http://hg.openjdk.java.net/jdk9/hs-comp
> *** failed to import extension trees from trees/trees.py: 'module' object has no attribute 'norepo'
> hg: unknown command 'tclone'
> (did you mean clone?)
>
> It works fine with Mercurial 3.5.2 so it seems like the commands.norepo and commands.optionalrepo attributes were removed in between.
I ran into the same issue recently and found :
CODETOOLS-7901672 "trees extension broken after upgrade to mercurial 3.8.1"
https://bugs.openjdk.java.net/browse/CODETOOLS-7901672
There are patches on the report.
Hope this helps-
Tim
More information about the hg-tools-dev
mailing list