From doug.simon at oracle.com Tue Jul 5 10:45:29 2016 From: doug.simon at oracle.com (Doug Simon) Date: Tue, 5 Jul 2016 12:45:29 +0200 Subject: trees extension doesn't work with hg 3.8.3 Message-ID: <8E93C9F1-BD15-4E12-B79E-A094BFB7C36F@oracle.com> 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. -Doug From tim.bell at oracle.com Fri Jul 8 14:33:28 2016 From: tim.bell at oracle.com (Tim Bell) Date: Fri, 8 Jul 2016 07:33:28 -0700 Subject: trees extension doesn't work with hg 3.8.3 In-Reply-To: <8E93C9F1-BD15-4E12-B79E-A094BFB7C36F@oracle.com> References: <8E93C9F1-BD15-4E12-B79E-A094BFB7C36F@oracle.com> Message-ID: <577FB9B8.2050803@oracle.com> 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