##// END OF EJS Templates
debuginstall: add mercurial version
timeless -
r29197:c5f9ff30 default
parent child Browse files
Show More
@@ -2740,6 +2740,13 b' def debuginstall(ui, **opts):'
2740 fm.write('pythonlib', _("checking Python lib (%s)...\n"),
2740 fm.write('pythonlib', _("checking Python lib (%s)...\n"),
2741 os.path.dirname(os.__file__))
2741 os.path.dirname(os.__file__))
2742
2742
2743 # hg version
2744 hgver = util.version()
2745 fm.write('hgver', _("checking Mercurial version (%s)\n"),
2746 hgver.split('+')[0])
2747 fm.write('hgverextra', _("checking Mercurial custom build (%s)\n"),
2748 '+'.join(hgver.split('+')[1:]))
2749
2743 # compiled modules
2750 # compiled modules
2744 fm.write('hgmodules', _("checking installed modules (%s)...\n"),
2751 fm.write('hgmodules', _("checking installed modules (%s)...\n"),
2745 os.path.dirname(__file__))
2752 os.path.dirname(__file__))
@@ -4,6 +4,8 b' hg debuginstall'
4 checking Python executable (*) (glob)
4 checking Python executable (*) (glob)
5 checking Python version (2.*) (glob)
5 checking Python version (2.*) (glob)
6 checking Python lib (*lib*)... (glob)
6 checking Python lib (*lib*)... (glob)
7 checking Mercurial version (*) (glob)
8 checking Mercurial custom build (*) (glob)
7 checking installed modules (*mercurial)... (glob)
9 checking installed modules (*mercurial)... (glob)
8 checking templates (*mercurial?templates)... (glob)
10 checking templates (*mercurial?templates)... (glob)
9 checking default template (*mercurial?templates?map-cmdline.default) (glob)
11 checking default template (*mercurial?templates?map-cmdline.default) (glob)
@@ -24,6 +26,8 b' hg debuginstall JSON'
24 "encodingerror": null,
26 "encodingerror": null,
25 "extensionserror": null,
27 "extensionserror": null,
26 "hgmodules": "*mercurial", (glob)
28 "hgmodules": "*mercurial", (glob)
29 "hgver": "*", (glob)
30 "hgverextra": "*", (glob)
27 "problems": 0,
31 "problems": 0,
28 "pythonexe": "*", (glob)
32 "pythonexe": "*", (glob)
29 "pythonlib": "*", (glob)
33 "pythonlib": "*", (glob)
@@ -41,6 +45,8 b' hg debuginstall with no username'
41 checking Python executable (*) (glob)
45 checking Python executable (*) (glob)
42 checking Python version (2.*) (glob)
46 checking Python version (2.*) (glob)
43 checking Python lib (*lib*)... (glob)
47 checking Python lib (*lib*)... (glob)
48 checking Mercurial version (*) (glob)
49 checking Mercurial custom build (*) (glob)
44 checking installed modules (*mercurial)... (glob)
50 checking installed modules (*mercurial)... (glob)
45 checking templates (*mercurial?templates)... (glob)
51 checking templates (*mercurial?templates)... (glob)
46 checking default template (*mercurial?templates?map-cmdline.default) (glob)
52 checking default template (*mercurial?templates?map-cmdline.default) (glob)
@@ -62,6 +68,8 b' path variables are expanded (~ is the sa'
62 checking Python executable (*) (glob)
68 checking Python executable (*) (glob)
63 checking Python version (*) (glob)
69 checking Python version (*) (glob)
64 checking Python lib (*lib*)... (glob)
70 checking Python lib (*lib*)... (glob)
71 checking Mercurial version (*) (glob)
72 checking Mercurial custom build (*) (glob)
65 checking installed modules (*mercurial)... (glob)
73 checking installed modules (*mercurial)... (glob)
66 checking templates (*mercurial?templates)... (glob)
74 checking templates (*mercurial?templates)... (glob)
67 checking default template (*mercurial?templates?map-cmdline.default) (glob)
75 checking default template (*mercurial?templates?map-cmdline.default) (glob)
General Comments 0
You need to be logged in to leave comments. Login now