Show More
@@ -1,244 +1,245 b'' | |||||
1 | <?xml version="1.0" encoding="utf-8"?> |
|
1 | <?xml version="1.0" encoding="utf-8"?> | |
2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
|
2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
3 |
|
3 | |||
4 | <?include guids.wxi ?> |
|
4 | <?include guids.wxi ?> | |
5 | <?include defines.wxi ?> |
|
5 | <?include defines.wxi ?> | |
6 |
|
6 | |||
7 | <Fragment> |
|
7 | <Fragment> | |
8 | <ComponentGroup Id="templatesFolder"> |
|
8 | <ComponentGroup Id="templatesFolder"> | |
9 |
|
9 | |||
10 | <ComponentRef Id="templates.root" /> |
|
10 | <ComponentRef Id="templates.root" /> | |
11 |
|
11 | |||
12 | <ComponentRef Id="templates.atom" /> |
|
12 | <ComponentRef Id="templates.atom" /> | |
13 | <ComponentRef Id="templates.coal" /> |
|
13 | <ComponentRef Id="templates.coal" /> | |
14 | <ComponentRef Id="templates.gitweb" /> |
|
14 | <ComponentRef Id="templates.gitweb" /> | |
15 | <ComponentRef Id="templates.json" /> |
|
15 | <ComponentRef Id="templates.json" /> | |
16 | <ComponentRef Id="templates.monoblue" /> |
|
16 | <ComponentRef Id="templates.monoblue" /> | |
17 | <ComponentRef Id="templates.paper" /> |
|
17 | <ComponentRef Id="templates.paper" /> | |
18 | <ComponentRef Id="templates.raw" /> |
|
18 | <ComponentRef Id="templates.raw" /> | |
19 | <ComponentRef Id="templates.rss" /> |
|
19 | <ComponentRef Id="templates.rss" /> | |
20 | <ComponentRef Id="templates.spartan" /> |
|
20 | <ComponentRef Id="templates.spartan" /> | |
21 | <ComponentRef Id="templates.static" /> |
|
21 | <ComponentRef Id="templates.static" /> | |
22 |
|
22 | |||
23 | </ComponentGroup> |
|
23 | </ComponentGroup> | |
24 | </Fragment> |
|
24 | </Fragment> | |
25 |
|
25 | |||
26 | <Fragment> |
|
26 | <Fragment> | |
27 | <DirectoryRef Id="INSTALLDIR"> |
|
27 | <DirectoryRef Id="INSTALLDIR"> | |
28 |
|
28 | |||
29 | <Directory Id="templatesdir" Name="templates" FileSource="$(var.SourceDir)"> |
|
29 | <Directory Id="templatesdir" Name="templates" FileSource="$(var.SourceDir)"> | |
30 |
|
30 | |||
31 | <Component Id="templates.root" Guid="$(var.templates.root.guid)" Win64='$(var.IsX64)'> |
|
31 | <Component Id="templates.root" Guid="$(var.templates.root.guid)" Win64='$(var.IsX64)'> | |
32 | <File Name="map-cmdline.changelog" KeyPath="yes" /> |
|
32 | <File Name="map-cmdline.changelog" KeyPath="yes" /> | |
33 | <File Name="map-cmdline.compact" /> |
|
33 | <File Name="map-cmdline.compact" /> | |
34 | <File Name="map-cmdline.default" /> |
|
34 | <File Name="map-cmdline.default" /> | |
35 | <File Name="map-cmdline.bisect" /> |
|
35 | <File Name="map-cmdline.bisect" /> | |
36 | <File Name="map-cmdline.xml" /> |
|
36 | <File Name="map-cmdline.xml" /> | |
|
37 | <File Name="map-cmdline.status" /> | |||
37 | <File Name="map-cmdline.phases" /> |
|
38 | <File Name="map-cmdline.phases" /> | |
38 | </Component> |
|
39 | </Component> | |
39 |
|
40 | |||
40 | <Directory Id="templates.jsondir" Name="json"> |
|
41 | <Directory Id="templates.jsondir" Name="json"> | |
41 | <Component Id="templates.json" Guid="$(var.templates.json.guid)" Win64='$(var.IsX64)'> |
|
42 | <Component Id="templates.json" Guid="$(var.templates.json.guid)" Win64='$(var.IsX64)'> | |
42 | <File Id="json.changelist.tmpl" Name="changelist.tmpl" KeyPath="yes" /> |
|
43 | <File Id="json.changelist.tmpl" Name="changelist.tmpl" KeyPath="yes" /> | |
43 | <File Id="json.map" Name="map" /> |
|
44 | <File Id="json.map" Name="map" /> | |
44 | </Component> |
|
45 | </Component> | |
45 | </Directory> |
|
46 | </Directory> | |
46 |
|
47 | |||
47 | <Directory Id="templates.atomdir" Name="atom"> |
|
48 | <Directory Id="templates.atomdir" Name="atom"> | |
48 | <Component Id="templates.atom" Guid="$(var.templates.atom.guid)" Win64='$(var.IsX64)'> |
|
49 | <Component Id="templates.atom" Guid="$(var.templates.atom.guid)" Win64='$(var.IsX64)'> | |
49 | <File Id="atom.changelog.tmpl" Name="changelog.tmpl" KeyPath="yes" /> |
|
50 | <File Id="atom.changelog.tmpl" Name="changelog.tmpl" KeyPath="yes" /> | |
50 | <File Id="atom.changelogentry.tmpl" Name="changelogentry.tmpl" /> |
|
51 | <File Id="atom.changelogentry.tmpl" Name="changelogentry.tmpl" /> | |
51 | <File Id="atom.error.tmpl" Name="error.tmpl" /> |
|
52 | <File Id="atom.error.tmpl" Name="error.tmpl" /> | |
52 | <File Id="atom.filelog.tmpl" Name="filelog.tmpl" /> |
|
53 | <File Id="atom.filelog.tmpl" Name="filelog.tmpl" /> | |
53 | <File Id="atom.header.tmpl" Name="header.tmpl" /> |
|
54 | <File Id="atom.header.tmpl" Name="header.tmpl" /> | |
54 | <File Id="atom.map" Name="map" /> |
|
55 | <File Id="atom.map" Name="map" /> | |
55 | <File Id="atom.tagentry.tmpl" Name="tagentry.tmpl" /> |
|
56 | <File Id="atom.tagentry.tmpl" Name="tagentry.tmpl" /> | |
56 | <File Id="atom.tags.tmpl" Name="tags.tmpl" /> |
|
57 | <File Id="atom.tags.tmpl" Name="tags.tmpl" /> | |
57 | <File Id="atom.branchentry.tmpl" Name="branchentry.tmpl" /> |
|
58 | <File Id="atom.branchentry.tmpl" Name="branchentry.tmpl" /> | |
58 | <File Id="atom.branches.tmpl" Name="branches.tmpl" /> |
|
59 | <File Id="atom.branches.tmpl" Name="branches.tmpl" /> | |
59 | <File Id="atom.bookmarks.tmpl" Name="bookmarks.tmpl" /> |
|
60 | <File Id="atom.bookmarks.tmpl" Name="bookmarks.tmpl" /> | |
60 | <File Id="atom.bookmarkentry.tmpl" Name="bookmarkentry.tmpl" /> |
|
61 | <File Id="atom.bookmarkentry.tmpl" Name="bookmarkentry.tmpl" /> | |
61 | </Component> |
|
62 | </Component> | |
62 | </Directory> |
|
63 | </Directory> | |
63 |
|
64 | |||
64 | <Directory Id="templates.coaldir" Name="coal"> |
|
65 | <Directory Id="templates.coaldir" Name="coal"> | |
65 | <Component Id="templates.coal" Guid="$(var.templates.coal.guid)" Win64='$(var.IsX64)'> |
|
66 | <Component Id="templates.coal" Guid="$(var.templates.coal.guid)" Win64='$(var.IsX64)'> | |
66 | <File Id="coal.header.tmpl" Name="header.tmpl" KeyPath="yes" /> |
|
67 | <File Id="coal.header.tmpl" Name="header.tmpl" KeyPath="yes" /> | |
67 | <File Id="coal.map" Name="map" /> |
|
68 | <File Id="coal.map" Name="map" /> | |
68 | </Component> |
|
69 | </Component> | |
69 | </Directory> |
|
70 | </Directory> | |
70 |
|
71 | |||
71 | <Directory Id="templates.gitwebdir" Name="gitweb"> |
|
72 | <Directory Id="templates.gitwebdir" Name="gitweb"> | |
72 | <Component Id="templates.gitweb" Guid="$(var.templates.gitweb.guid)" Win64='$(var.IsX64)'> |
|
73 | <Component Id="templates.gitweb" Guid="$(var.templates.gitweb.guid)" Win64='$(var.IsX64)'> | |
73 | <File Id="gitweb.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> |
|
74 | <File Id="gitweb.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> | |
74 | <File Id="gitweb.bookmarks.tmpl" Name="bookmarks.tmpl" /> |
|
75 | <File Id="gitweb.bookmarks.tmpl" Name="bookmarks.tmpl" /> | |
75 | <File Id="gitweb.changelog.tmpl" Name="changelog.tmpl" /> |
|
76 | <File Id="gitweb.changelog.tmpl" Name="changelog.tmpl" /> | |
76 | <File Id="gitweb.changelogentry.tmpl" Name="changelogentry.tmpl" /> |
|
77 | <File Id="gitweb.changelogentry.tmpl" Name="changelogentry.tmpl" /> | |
77 | <File Id="gitweb.changeset.tmpl" Name="changeset.tmpl" /> |
|
78 | <File Id="gitweb.changeset.tmpl" Name="changeset.tmpl" /> | |
78 | <File Id="gitweb.error.tmpl" Name="error.tmpl" /> |
|
79 | <File Id="gitweb.error.tmpl" Name="error.tmpl" /> | |
79 | <File Id="gitweb.fileannotate.tmpl" Name="fileannotate.tmpl" /> |
|
80 | <File Id="gitweb.fileannotate.tmpl" Name="fileannotate.tmpl" /> | |
80 | <File Id="gitweb.filecomparison.tmpl" Name="filecomparison.tmpl" /> |
|
81 | <File Id="gitweb.filecomparison.tmpl" Name="filecomparison.tmpl" /> | |
81 | <File Id="gitweb.filediff.tmpl" Name="filediff.tmpl" /> |
|
82 | <File Id="gitweb.filediff.tmpl" Name="filediff.tmpl" /> | |
82 | <File Id="gitweb.filelog.tmpl" Name="filelog.tmpl" /> |
|
83 | <File Id="gitweb.filelog.tmpl" Name="filelog.tmpl" /> | |
83 | <File Id="gitweb.filerevision.tmpl" Name="filerevision.tmpl" /> |
|
84 | <File Id="gitweb.filerevision.tmpl" Name="filerevision.tmpl" /> | |
84 | <File Id="gitweb.footer.tmpl" Name="footer.tmpl" /> |
|
85 | <File Id="gitweb.footer.tmpl" Name="footer.tmpl" /> | |
85 | <File Id="gitweb.graph.tmpl" Name="graph.tmpl" /> |
|
86 | <File Id="gitweb.graph.tmpl" Name="graph.tmpl" /> | |
86 | <File Id="gitweb.header.tmpl" Name="header.tmpl" /> |
|
87 | <File Id="gitweb.header.tmpl" Name="header.tmpl" /> | |
87 | <File Id="gitweb.index.tmpl" Name="index.tmpl" /> |
|
88 | <File Id="gitweb.index.tmpl" Name="index.tmpl" /> | |
88 | <File Id="gitweb.manifest.tmpl" Name="manifest.tmpl" /> |
|
89 | <File Id="gitweb.manifest.tmpl" Name="manifest.tmpl" /> | |
89 | <File Id="gitweb.map" Name="map" /> |
|
90 | <File Id="gitweb.map" Name="map" /> | |
90 | <File Id="gitweb.notfound.tmpl" Name="notfound.tmpl" /> |
|
91 | <File Id="gitweb.notfound.tmpl" Name="notfound.tmpl" /> | |
91 | <File Id="gitweb.search.tmpl" Name="search.tmpl" /> |
|
92 | <File Id="gitweb.search.tmpl" Name="search.tmpl" /> | |
92 | <File Id="gitweb.shortlog.tmpl" Name="shortlog.tmpl" /> |
|
93 | <File Id="gitweb.shortlog.tmpl" Name="shortlog.tmpl" /> | |
93 | <File Id="gitweb.summary.tmpl" Name="summary.tmpl" /> |
|
94 | <File Id="gitweb.summary.tmpl" Name="summary.tmpl" /> | |
94 | <File Id="gitweb.tags.tmpl" Name="tags.tmpl" /> |
|
95 | <File Id="gitweb.tags.tmpl" Name="tags.tmpl" /> | |
95 | <File Id="gitweb.help.tmpl" Name="help.tmpl" /> |
|
96 | <File Id="gitweb.help.tmpl" Name="help.tmpl" /> | |
96 | <File Id="gitweb.helptopics.tmpl" Name="helptopics.tmpl" /> |
|
97 | <File Id="gitweb.helptopics.tmpl" Name="helptopics.tmpl" /> | |
97 | </Component> |
|
98 | </Component> | |
98 | </Directory> |
|
99 | </Directory> | |
99 |
|
100 | |||
100 | <Directory Id="templates.monobluedir" Name="monoblue"> |
|
101 | <Directory Id="templates.monobluedir" Name="monoblue"> | |
101 | <Component Id="templates.monoblue" Guid="$(var.templates.monoblue.guid)" Win64='$(var.IsX64)'> |
|
102 | <Component Id="templates.monoblue" Guid="$(var.templates.monoblue.guid)" Win64='$(var.IsX64)'> | |
102 | <File Id="monoblue.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> |
|
103 | <File Id="monoblue.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> | |
103 | <File Id="monoblue.bookmarks.tmpl" Name="bookmarks.tmpl" /> |
|
104 | <File Id="monoblue.bookmarks.tmpl" Name="bookmarks.tmpl" /> | |
104 | <File Id="monoblue.changelog.tmpl" Name="changelog.tmpl" /> |
|
105 | <File Id="monoblue.changelog.tmpl" Name="changelog.tmpl" /> | |
105 | <File Id="monoblue.changelogentry.tmpl" Name="changelogentry.tmpl" /> |
|
106 | <File Id="monoblue.changelogentry.tmpl" Name="changelogentry.tmpl" /> | |
106 | <File Id="monoblue.changeset.tmpl" Name="changeset.tmpl" /> |
|
107 | <File Id="monoblue.changeset.tmpl" Name="changeset.tmpl" /> | |
107 | <File Id="monoblue.error.tmpl" Name="error.tmpl" /> |
|
108 | <File Id="monoblue.error.tmpl" Name="error.tmpl" /> | |
108 | <File Id="monoblue.fileannotate.tmpl" Name="fileannotate.tmpl" /> |
|
109 | <File Id="monoblue.fileannotate.tmpl" Name="fileannotate.tmpl" /> | |
109 | <File Id="monoblue.filecomparison.tmpl" Name="filecomparison.tmpl" /> |
|
110 | <File Id="monoblue.filecomparison.tmpl" Name="filecomparison.tmpl" /> | |
110 | <File Id="monoblue.filediff.tmpl" Name="filediff.tmpl" /> |
|
111 | <File Id="monoblue.filediff.tmpl" Name="filediff.tmpl" /> | |
111 | <File Id="monoblue.filelog.tmpl" Name="filelog.tmpl" /> |
|
112 | <File Id="monoblue.filelog.tmpl" Name="filelog.tmpl" /> | |
112 | <File Id="monoblue.filerevision.tmpl" Name="filerevision.tmpl" /> |
|
113 | <File Id="monoblue.filerevision.tmpl" Name="filerevision.tmpl" /> | |
113 | <File Id="monoblue.footer.tmpl" Name="footer.tmpl" /> |
|
114 | <File Id="monoblue.footer.tmpl" Name="footer.tmpl" /> | |
114 | <File Id="monoblue.graph.tmpl" Name="graph.tmpl" /> |
|
115 | <File Id="monoblue.graph.tmpl" Name="graph.tmpl" /> | |
115 | <File Id="monoblue.header.tmpl" Name="header.tmpl" /> |
|
116 | <File Id="monoblue.header.tmpl" Name="header.tmpl" /> | |
116 | <File Id="monoblue.index.tmpl" Name="index.tmpl" /> |
|
117 | <File Id="monoblue.index.tmpl" Name="index.tmpl" /> | |
117 | <File Id="monoblue.manifest.tmpl" Name="manifest.tmpl" /> |
|
118 | <File Id="monoblue.manifest.tmpl" Name="manifest.tmpl" /> | |
118 | <File Id="monoblue.map" Name="map" /> |
|
119 | <File Id="monoblue.map" Name="map" /> | |
119 | <File Id="monoblue.notfound.tmpl" Name="notfound.tmpl" /> |
|
120 | <File Id="monoblue.notfound.tmpl" Name="notfound.tmpl" /> | |
120 | <File Id="monoblue.search.tmpl" Name="search.tmpl" /> |
|
121 | <File Id="monoblue.search.tmpl" Name="search.tmpl" /> | |
121 | <File Id="monoblue.shortlog.tmpl" Name="shortlog.tmpl" /> |
|
122 | <File Id="monoblue.shortlog.tmpl" Name="shortlog.tmpl" /> | |
122 | <File Id="monoblue.summary.tmpl" Name="summary.tmpl" /> |
|
123 | <File Id="monoblue.summary.tmpl" Name="summary.tmpl" /> | |
123 | <File Id="monoblue.tags.tmpl" Name="tags.tmpl" /> |
|
124 | <File Id="monoblue.tags.tmpl" Name="tags.tmpl" /> | |
124 | <File Id="monoblue.help.tmpl" Name="help.tmpl" /> |
|
125 | <File Id="monoblue.help.tmpl" Name="help.tmpl" /> | |
125 | <File Id="monoblue.helptopics.tmpl" Name="helptopics.tmpl" /> |
|
126 | <File Id="monoblue.helptopics.tmpl" Name="helptopics.tmpl" /> | |
126 | </Component> |
|
127 | </Component> | |
127 | </Directory> |
|
128 | </Directory> | |
128 |
|
129 | |||
129 | <Directory Id="templates.paperdir" Name="paper"> |
|
130 | <Directory Id="templates.paperdir" Name="paper"> | |
130 | <Component Id="templates.paper" Guid="$(var.templates.paper.guid)" Win64='$(var.IsX64)'> |
|
131 | <Component Id="templates.paper" Guid="$(var.templates.paper.guid)" Win64='$(var.IsX64)'> | |
131 | <File Id="paper.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> |
|
132 | <File Id="paper.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> | |
132 | <File Id="paper.bookmarks.tmpl" Name="bookmarks.tmpl" /> |
|
133 | <File Id="paper.bookmarks.tmpl" Name="bookmarks.tmpl" /> | |
133 | <File Id="paper.changeset.tmpl" Name="changeset.tmpl" /> |
|
134 | <File Id="paper.changeset.tmpl" Name="changeset.tmpl" /> | |
134 | <File Id="paper.diffstat.tmpl" Name="diffstat.tmpl" /> |
|
135 | <File Id="paper.diffstat.tmpl" Name="diffstat.tmpl" /> | |
135 | <File Id="paper.error.tmpl" Name="error.tmpl" /> |
|
136 | <File Id="paper.error.tmpl" Name="error.tmpl" /> | |
136 | <File Id="paper.fileannotate.tmpl" Name="fileannotate.tmpl" /> |
|
137 | <File Id="paper.fileannotate.tmpl" Name="fileannotate.tmpl" /> | |
137 | <File Id="paper.filecomparison.tmpl" Name="filecomparison.tmpl" /> |
|
138 | <File Id="paper.filecomparison.tmpl" Name="filecomparison.tmpl" /> | |
138 | <File Id="paper.filediff.tmpl" Name="filediff.tmpl" /> |
|
139 | <File Id="paper.filediff.tmpl" Name="filediff.tmpl" /> | |
139 | <File Id="paper.filelog.tmpl" Name="filelog.tmpl" /> |
|
140 | <File Id="paper.filelog.tmpl" Name="filelog.tmpl" /> | |
140 | <File Id="paper.filelogentry.tmpl" Name="filelogentry.tmpl" /> |
|
141 | <File Id="paper.filelogentry.tmpl" Name="filelogentry.tmpl" /> | |
141 | <File Id="paper.filerevision.tmpl" Name="filerevision.tmpl" /> |
|
142 | <File Id="paper.filerevision.tmpl" Name="filerevision.tmpl" /> | |
142 | <File Id="paper.footer.tmpl" Name="footer.tmpl" /> |
|
143 | <File Id="paper.footer.tmpl" Name="footer.tmpl" /> | |
143 | <File Id="paper.graph.tmpl" Name="graph.tmpl" /> |
|
144 | <File Id="paper.graph.tmpl" Name="graph.tmpl" /> | |
144 | <File Id="paper.header.tmpl" Name="header.tmpl" /> |
|
145 | <File Id="paper.header.tmpl" Name="header.tmpl" /> | |
145 | <File Id="paper.index.tmpl" Name="index.tmpl" /> |
|
146 | <File Id="paper.index.tmpl" Name="index.tmpl" /> | |
146 | <File Id="paper.manifest.tmpl" Name="manifest.tmpl" /> |
|
147 | <File Id="paper.manifest.tmpl" Name="manifest.tmpl" /> | |
147 | <File Id="paper.map" Name="map" /> |
|
148 | <File Id="paper.map" Name="map" /> | |
148 | <File Id="paper.notfound.tmpl" Name="notfound.tmpl" /> |
|
149 | <File Id="paper.notfound.tmpl" Name="notfound.tmpl" /> | |
149 | <File Id="paper.search.tmpl" Name="search.tmpl" /> |
|
150 | <File Id="paper.search.tmpl" Name="search.tmpl" /> | |
150 | <File Id="paper.shortlog.tmpl" Name="shortlog.tmpl" /> |
|
151 | <File Id="paper.shortlog.tmpl" Name="shortlog.tmpl" /> | |
151 | <File Id="paper.shortlogentry.tmpl" Name="shortlogentry.tmpl" /> |
|
152 | <File Id="paper.shortlogentry.tmpl" Name="shortlogentry.tmpl" /> | |
152 | <File Id="paper.tags.tmpl" Name="tags.tmpl" /> |
|
153 | <File Id="paper.tags.tmpl" Name="tags.tmpl" /> | |
153 | <File Id="paper.help.tmpl" Name="help.tmpl" /> |
|
154 | <File Id="paper.help.tmpl" Name="help.tmpl" /> | |
154 | <File Id="paper.helptopics.tmpl" Name="helptopics.tmpl" /> |
|
155 | <File Id="paper.helptopics.tmpl" Name="helptopics.tmpl" /> | |
155 | </Component> |
|
156 | </Component> | |
156 | </Directory> |
|
157 | </Directory> | |
157 |
|
158 | |||
158 | <Directory Id="templates.rawdir" Name="raw"> |
|
159 | <Directory Id="templates.rawdir" Name="raw"> | |
159 | <Component Id="templates.raw" Guid="$(var.templates.raw.guid)" Win64='$(var.IsX64)'> |
|
160 | <Component Id="templates.raw" Guid="$(var.templates.raw.guid)" Win64='$(var.IsX64)'> | |
160 | <File Id="raw.changeset.tmpl" Name="changeset.tmpl" KeyPath="yes" /> |
|
161 | <File Id="raw.changeset.tmpl" Name="changeset.tmpl" KeyPath="yes" /> | |
161 | <File Id="raw.error.tmpl" Name="error.tmpl" /> |
|
162 | <File Id="raw.error.tmpl" Name="error.tmpl" /> | |
162 | <File Id="raw.fileannotate.tmpl" Name="fileannotate.tmpl" /> |
|
163 | <File Id="raw.fileannotate.tmpl" Name="fileannotate.tmpl" /> | |
163 | <File Id="raw.filediff.tmpl" Name="filediff.tmpl" /> |
|
164 | <File Id="raw.filediff.tmpl" Name="filediff.tmpl" /> | |
164 | <File Id="raw.graph.tmpl" Name="graph.tmpl" /> |
|
165 | <File Id="raw.graph.tmpl" Name="graph.tmpl" /> | |
165 | <File Id="raw.graphedge.tmpl" Name="graphedge.tmpl" /> |
|
166 | <File Id="raw.graphedge.tmpl" Name="graphedge.tmpl" /> | |
166 | <File Id="raw.graphnode.tmpl" Name="graphnode.tmpl" /> |
|
167 | <File Id="raw.graphnode.tmpl" Name="graphnode.tmpl" /> | |
167 | <File Id="raw.index.tmpl" Name="index.tmpl" /> |
|
168 | <File Id="raw.index.tmpl" Name="index.tmpl" /> | |
168 | <File Id="raw.manifest.tmpl" Name="manifest.tmpl" /> |
|
169 | <File Id="raw.manifest.tmpl" Name="manifest.tmpl" /> | |
169 | <File Id="raw.map" Name="map" /> |
|
170 | <File Id="raw.map" Name="map" /> | |
170 | <File Id="raw.notfound.tmpl" Name="notfound.tmpl" /> |
|
171 | <File Id="raw.notfound.tmpl" Name="notfound.tmpl" /> | |
171 | <File Id="raw.search.tmpl" Name="search.tmpl" /> |
|
172 | <File Id="raw.search.tmpl" Name="search.tmpl" /> | |
172 | <File Id="raw.logentry.tmpl" Name="logentry.tmpl" /> |
|
173 | <File Id="raw.logentry.tmpl" Name="logentry.tmpl" /> | |
173 | <File Id="raw.changelog.tmpl" Name="changelog.tmpl" /> |
|
174 | <File Id="raw.changelog.tmpl" Name="changelog.tmpl" /> | |
174 | </Component> |
|
175 | </Component> | |
175 | </Directory> |
|
176 | </Directory> | |
176 |
|
177 | |||
177 | <Directory Id="templates.rssdir" Name="rss"> |
|
178 | <Directory Id="templates.rssdir" Name="rss"> | |
178 | <Component Id="templates.rss" Guid="$(var.templates.rss.guid)" Win64='$(var.IsX64)'> |
|
179 | <Component Id="templates.rss" Guid="$(var.templates.rss.guid)" Win64='$(var.IsX64)'> | |
179 | <File Id="rss.changelog.tmpl" Name="changelog.tmpl" KeyPath="yes" /> |
|
180 | <File Id="rss.changelog.tmpl" Name="changelog.tmpl" KeyPath="yes" /> | |
180 | <File Id="rss.changelogentry.tmpl" Name="changelogentry.tmpl" /> |
|
181 | <File Id="rss.changelogentry.tmpl" Name="changelogentry.tmpl" /> | |
181 | <File Id="rss.error.tmpl" Name="error.tmpl" /> |
|
182 | <File Id="rss.error.tmpl" Name="error.tmpl" /> | |
182 | <File Id="rss.filelog.tmpl" Name="filelog.tmpl" /> |
|
183 | <File Id="rss.filelog.tmpl" Name="filelog.tmpl" /> | |
183 | <File Id="rss.filelogentry.tmpl" Name="filelogentry.tmpl" /> |
|
184 | <File Id="rss.filelogentry.tmpl" Name="filelogentry.tmpl" /> | |
184 | <File Id="rss.header.tmpl" Name="header.tmpl" /> |
|
185 | <File Id="rss.header.tmpl" Name="header.tmpl" /> | |
185 | <File Id="rss.map" Name="map" /> |
|
186 | <File Id="rss.map" Name="map" /> | |
186 | <File Id="rss.tagentry.tmpl" Name="tagentry.tmpl" /> |
|
187 | <File Id="rss.tagentry.tmpl" Name="tagentry.tmpl" /> | |
187 | <File Id="rss.tags.tmpl" Name="tags.tmpl" /> |
|
188 | <File Id="rss.tags.tmpl" Name="tags.tmpl" /> | |
188 | <File Id="rss.bookmarks.tmpl" Name="bookmarks.tmpl" /> |
|
189 | <File Id="rss.bookmarks.tmpl" Name="bookmarks.tmpl" /> | |
189 | <File Id="rss.bookmarkentry.tmpl" Name="bookmarkentry.tmpl" /> |
|
190 | <File Id="rss.bookmarkentry.tmpl" Name="bookmarkentry.tmpl" /> | |
190 | <File Id="rss.branchentry.tmpl" Name="branchentry.tmpl" /> |
|
191 | <File Id="rss.branchentry.tmpl" Name="branchentry.tmpl" /> | |
191 | <File Id="rss.branches.tmpl" Name="branches.tmpl" /> |
|
192 | <File Id="rss.branches.tmpl" Name="branches.tmpl" /> | |
192 | </Component> |
|
193 | </Component> | |
193 | </Directory> |
|
194 | </Directory> | |
194 |
|
195 | |||
195 | <Directory Id="templates.spartandir" Name="spartan"> |
|
196 | <Directory Id="templates.spartandir" Name="spartan"> | |
196 | <Component Id="templates.spartan" Guid="$(var.templates.spartan.guid)" Win64='$(var.IsX64)'> |
|
197 | <Component Id="templates.spartan" Guid="$(var.templates.spartan.guid)" Win64='$(var.IsX64)'> | |
197 | <File Id="spartan.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> |
|
198 | <File Id="spartan.branches.tmpl" Name="branches.tmpl" KeyPath="yes" /> | |
198 | <File Id="spartan.changelog.tmpl" Name="changelog.tmpl" /> |
|
199 | <File Id="spartan.changelog.tmpl" Name="changelog.tmpl" /> | |
199 | <File Id="spartan.changelogentry.tmpl" Name="changelogentry.tmpl" /> |
|
200 | <File Id="spartan.changelogentry.tmpl" Name="changelogentry.tmpl" /> | |
200 | <File Id="spartan.changeset.tmpl" Name="changeset.tmpl" /> |
|
201 | <File Id="spartan.changeset.tmpl" Name="changeset.tmpl" /> | |
201 | <File Id="spartan.error.tmpl" Name="error.tmpl" /> |
|
202 | <File Id="spartan.error.tmpl" Name="error.tmpl" /> | |
202 | <File Id="spartan.fileannotate.tmpl" Name="fileannotate.tmpl" /> |
|
203 | <File Id="spartan.fileannotate.tmpl" Name="fileannotate.tmpl" /> | |
203 | <File Id="spartan.filediff.tmpl" Name="filediff.tmpl" /> |
|
204 | <File Id="spartan.filediff.tmpl" Name="filediff.tmpl" /> | |
204 | <File Id="spartan.filelog.tmpl" Name="filelog.tmpl" /> |
|
205 | <File Id="spartan.filelog.tmpl" Name="filelog.tmpl" /> | |
205 | <File Id="spartan.filelogentry.tmpl" Name="filelogentry.tmpl" /> |
|
206 | <File Id="spartan.filelogentry.tmpl" Name="filelogentry.tmpl" /> | |
206 | <File Id="spartan.filerevision.tmpl" Name="filerevision.tmpl" /> |
|
207 | <File Id="spartan.filerevision.tmpl" Name="filerevision.tmpl" /> | |
207 | <File Id="spartan.footer.tmpl" Name="footer.tmpl" /> |
|
208 | <File Id="spartan.footer.tmpl" Name="footer.tmpl" /> | |
208 | <File Id="spartan.graph.tmpl" Name="graph.tmpl" /> |
|
209 | <File Id="spartan.graph.tmpl" Name="graph.tmpl" /> | |
209 | <File Id="spartan.header.tmpl" Name="header.tmpl" /> |
|
210 | <File Id="spartan.header.tmpl" Name="header.tmpl" /> | |
210 | <File Id="spartan.index.tmpl" Name="index.tmpl" /> |
|
211 | <File Id="spartan.index.tmpl" Name="index.tmpl" /> | |
211 | <File Id="spartan.manifest.tmpl" Name="manifest.tmpl" /> |
|
212 | <File Id="spartan.manifest.tmpl" Name="manifest.tmpl" /> | |
212 | <File Id="spartan.map" Name="map" /> |
|
213 | <File Id="spartan.map" Name="map" /> | |
213 | <File Id="spartan.notfound.tmpl" Name="notfound.tmpl" /> |
|
214 | <File Id="spartan.notfound.tmpl" Name="notfound.tmpl" /> | |
214 | <File Id="spartan.search.tmpl" Name="search.tmpl" /> |
|
215 | <File Id="spartan.search.tmpl" Name="search.tmpl" /> | |
215 | <File Id="spartan.shortlog.tmpl" Name="shortlog.tmpl" /> |
|
216 | <File Id="spartan.shortlog.tmpl" Name="shortlog.tmpl" /> | |
216 | <File Id="spartan.shortlogentry.tmpl" Name="shortlogentry.tmpl" /> |
|
217 | <File Id="spartan.shortlogentry.tmpl" Name="shortlogentry.tmpl" /> | |
217 | <File Id="spartan.tags.tmpl" Name="tags.tmpl" /> |
|
218 | <File Id="spartan.tags.tmpl" Name="tags.tmpl" /> | |
218 | </Component> |
|
219 | </Component> | |
219 | </Directory> |
|
220 | </Directory> | |
220 |
|
221 | |||
221 | <Directory Id="templates.staticdir" Name="static"> |
|
222 | <Directory Id="templates.staticdir" Name="static"> | |
222 | <Component Id="templates.static" Guid="$(var.templates.static.guid)" Win64='$(var.IsX64)'> |
|
223 | <Component Id="templates.static" Guid="$(var.templates.static.guid)" Win64='$(var.IsX64)'> | |
223 | <File Id="static.background.png" Name="background.png" KeyPath="yes" /> |
|
224 | <File Id="static.background.png" Name="background.png" KeyPath="yes" /> | |
224 | <File Id="static.coal.file.png" Name="coal-file.png" /> |
|
225 | <File Id="static.coal.file.png" Name="coal-file.png" /> | |
225 | <File Id="static.coal.folder.png" Name="coal-folder.png" /> |
|
226 | <File Id="static.coal.folder.png" Name="coal-folder.png" /> | |
226 | <File Id="static.excanvas.js" Name="excanvas.js" /> |
|
227 | <File Id="static.excanvas.js" Name="excanvas.js" /> | |
227 | <File Id="static.mercurial.js" Name="mercurial.js" /> |
|
228 | <File Id="static.mercurial.js" Name="mercurial.js" /> | |
228 | <File Id="static.hgicon.png" Name="hgicon.png" /> |
|
229 | <File Id="static.hgicon.png" Name="hgicon.png" /> | |
229 | <File Id="static.hglogo.png" Name="hglogo.png" /> |
|
230 | <File Id="static.hglogo.png" Name="hglogo.png" /> | |
230 | <File Id="static.style.coal.css" Name="style-extra-coal.css" /> |
|
231 | <File Id="static.style.coal.css" Name="style-extra-coal.css" /> | |
231 | <File Id="static.style.gitweb.css" Name="style-gitweb.css" /> |
|
232 | <File Id="static.style.gitweb.css" Name="style-gitweb.css" /> | |
232 | <File Id="static.style.monoblue.css" Name="style-monoblue.css" /> |
|
233 | <File Id="static.style.monoblue.css" Name="style-monoblue.css" /> | |
233 | <File Id="static.style.paper.css" Name="style-paper.css" /> |
|
234 | <File Id="static.style.paper.css" Name="style-paper.css" /> | |
234 | <File Id="static.style.css" Name="style.css" /> |
|
235 | <File Id="static.style.css" Name="style.css" /> | |
235 | <File Id="static.feed.icon" Name="feed-icon-14x14.png" /> |
|
236 | <File Id="static.feed.icon" Name="feed-icon-14x14.png" /> | |
236 | </Component> |
|
237 | </Component> | |
237 | </Directory> |
|
238 | </Directory> | |
238 |
|
239 | |||
239 | </Directory> |
|
240 | </Directory> | |
240 |
|
241 | |||
241 | </DirectoryRef> |
|
242 | </DirectoryRef> | |
242 | </Fragment> |
|
243 | </Fragment> | |
243 |
|
244 | |||
244 | </Wix> |
|
245 | </Wix> |
@@ -1,111 +1,110 b'' | |||||
1 | hg debuginstall |
|
1 | hg debuginstall | |
2 | $ hg debuginstall |
|
2 | $ hg debuginstall | |
3 | checking encoding (ascii)... |
|
3 | checking encoding (ascii)... | |
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 installed modules (*mercurial)... (glob) |
|
7 | checking installed modules (*mercurial)... (glob) | |
8 | checking templates (*mercurial?templates)... (glob) |
|
8 | checking templates (*mercurial?templates)... (glob) | |
9 | checking commit editor... |
|
9 | checking commit editor... | |
10 | checking username... |
|
10 | checking username... | |
11 | no problems detected |
|
11 | no problems detected | |
12 |
|
12 | |||
13 | hg debuginstall with no username |
|
13 | hg debuginstall with no username | |
14 | $ HGUSER= hg debuginstall |
|
14 | $ HGUSER= hg debuginstall | |
15 | checking encoding (ascii)... |
|
15 | checking encoding (ascii)... | |
16 | checking Python executable (*) (glob) |
|
16 | checking Python executable (*) (glob) | |
17 | checking Python version (2.*) (glob) |
|
17 | checking Python version (2.*) (glob) | |
18 | checking Python lib (*lib*)... (glob) |
|
18 | checking Python lib (*lib*)... (glob) | |
19 | checking installed modules (*mercurial)... (glob) |
|
19 | checking installed modules (*mercurial)... (glob) | |
20 | checking templates (*mercurial?templates)... (glob) |
|
20 | checking templates (*mercurial?templates)... (glob) | |
21 | checking commit editor... |
|
21 | checking commit editor... | |
22 | checking username... |
|
22 | checking username... | |
23 | no username supplied |
|
23 | no username supplied | |
24 | (specify a username in your configuration file) |
|
24 | (specify a username in your configuration file) | |
25 | 1 problems detected, please check your install! |
|
25 | 1 problems detected, please check your install! | |
26 | [1] |
|
26 | [1] | |
27 |
|
27 | |||
28 | path variables are expanded (~ is the same as $TESTTMP) |
|
28 | path variables are expanded (~ is the same as $TESTTMP) | |
29 | $ mkdir tools |
|
29 | $ mkdir tools | |
30 | $ touch tools/testeditor.exe |
|
30 | $ touch tools/testeditor.exe | |
31 | #if execbit |
|
31 | #if execbit | |
32 | $ chmod 755 tools/testeditor.exe |
|
32 | $ chmod 755 tools/testeditor.exe | |
33 | #endif |
|
33 | #endif | |
34 | $ hg debuginstall --config ui.editor=~/tools/testeditor.exe |
|
34 | $ hg debuginstall --config ui.editor=~/tools/testeditor.exe | |
35 | checking encoding (ascii)... |
|
35 | checking encoding (ascii)... | |
36 | checking Python executable (*) (glob) |
|
36 | checking Python executable (*) (glob) | |
37 | checking Python version (*) (glob) |
|
37 | checking Python version (*) (glob) | |
38 | checking Python lib (*lib*)... (glob) |
|
38 | checking Python lib (*lib*)... (glob) | |
39 | checking installed modules (*mercurial)... (glob) |
|
39 | checking installed modules (*mercurial)... (glob) | |
40 | checking templates (*mercurial?templates)... (glob) |
|
40 | checking templates (*mercurial?templates)... (glob) | |
41 | checking commit editor... |
|
41 | checking commit editor... | |
42 | checking username... |
|
42 | checking username... | |
43 | no problems detected |
|
43 | no problems detected | |
44 |
|
44 | |||
45 | $ cat >> wixxml.py << EOF |
|
45 | $ cat >> wixxml.py << EOF | |
46 | > import os, subprocess, sys |
|
46 | > import os, subprocess, sys | |
47 | > import xml.etree.ElementTree as ET |
|
47 | > import xml.etree.ElementTree as ET | |
48 | > |
|
48 | > | |
49 | > # MSYS mangles the path if it expands $TESTDIR |
|
49 | > # MSYS mangles the path if it expands $TESTDIR | |
50 | > testdir = os.environ['TESTDIR'] |
|
50 | > testdir = os.environ['TESTDIR'] | |
51 | > ns = {'wix' : 'http://schemas.microsoft.com/wix/2006/wi'} |
|
51 | > ns = {'wix' : 'http://schemas.microsoft.com/wix/2006/wi'} | |
52 | > |
|
52 | > | |
53 | > def directory(node, relpath): |
|
53 | > def directory(node, relpath): | |
54 | > '''generator of files in the xml node, rooted at relpath''' |
|
54 | > '''generator of files in the xml node, rooted at relpath''' | |
55 | > dirs = node.findall('./wix:Directory', ns) |
|
55 | > dirs = node.findall('./wix:Directory', ns) | |
56 | > |
|
56 | > | |
57 | > for d in dirs: |
|
57 | > for d in dirs: | |
58 | > for subfile in directory(d, relpath + d.attrib['Name'] + '/'): |
|
58 | > for subfile in directory(d, relpath + d.attrib['Name'] + '/'): | |
59 | > yield subfile |
|
59 | > yield subfile | |
60 | > |
|
60 | > | |
61 | > files = node.findall('./wix:Component/wix:File', ns) |
|
61 | > files = node.findall('./wix:Component/wix:File', ns) | |
62 | > |
|
62 | > | |
63 | > for f in files: |
|
63 | > for f in files: | |
64 | > yield relpath + f.attrib['Name'] |
|
64 | > yield relpath + f.attrib['Name'] | |
65 | > |
|
65 | > | |
66 | > def hgdirectory(relpath): |
|
66 | > def hgdirectory(relpath): | |
67 | > '''generator of tracked files, rooted at relpath''' |
|
67 | > '''generator of tracked files, rooted at relpath''' | |
68 | > hgdir = "%s/../mercurial" % (testdir) |
|
68 | > hgdir = "%s/../mercurial" % (testdir) | |
69 | > args = ['hg', '--cwd', hgdir, 'files', '--rev', '.', relpath] |
|
69 | > args = ['hg', '--cwd', hgdir, 'files', '--rev', '.', relpath] | |
70 | > proc = subprocess.Popen(args, stdout=subprocess.PIPE, |
|
70 | > proc = subprocess.Popen(args, stdout=subprocess.PIPE, | |
71 | > stderr=subprocess.PIPE) |
|
71 | > stderr=subprocess.PIPE) | |
72 | > output = proc.communicate()[0] |
|
72 | > output = proc.communicate()[0] | |
73 | > |
|
73 | > | |
74 | > slash = '/' |
|
74 | > slash = '/' | |
75 | > for line in output.splitlines(): |
|
75 | > for line in output.splitlines(): | |
76 | > if os.name == 'nt': |
|
76 | > if os.name == 'nt': | |
77 | > yield line.replace(os.sep, slash) |
|
77 | > yield line.replace(os.sep, slash) | |
78 | > else: |
|
78 | > else: | |
79 | > yield line |
|
79 | > yield line | |
80 | > |
|
80 | > | |
81 | > tracked = [f for f in hgdirectory(sys.argv[1])] |
|
81 | > tracked = [f for f in hgdirectory(sys.argv[1])] | |
82 | > |
|
82 | > | |
83 | > xml = ET.parse("%s/../contrib/wix/%s.wxs" % (testdir, sys.argv[1])) |
|
83 | > xml = ET.parse("%s/../contrib/wix/%s.wxs" % (testdir, sys.argv[1])) | |
84 | > root = xml.getroot() |
|
84 | > root = xml.getroot() | |
85 | > dir = root.find('.//wix:DirectoryRef', ns) |
|
85 | > dir = root.find('.//wix:DirectoryRef', ns) | |
86 | > |
|
86 | > | |
87 | > installed = [f for f in directory(dir, '')] |
|
87 | > installed = [f for f in directory(dir, '')] | |
88 | > |
|
88 | > | |
89 | > print('Not installed:') |
|
89 | > print('Not installed:') | |
90 | > for f in sorted(set(tracked) - set(installed)): |
|
90 | > for f in sorted(set(tracked) - set(installed)): | |
91 | > print(' %s' % f) |
|
91 | > print(' %s' % f) | |
92 | > |
|
92 | > | |
93 | > print('Not tracked:') |
|
93 | > print('Not tracked:') | |
94 | > for f in sorted(set(installed) - set(tracked)): |
|
94 | > for f in sorted(set(installed) - set(tracked)): | |
95 | > print(' %s' % f) |
|
95 | > print(' %s' % f) | |
96 | > EOF |
|
96 | > EOF | |
97 |
|
97 | |||
98 | $ python wixxml.py help |
|
98 | $ python wixxml.py help | |
99 | Not installed: |
|
99 | Not installed: | |
100 | help/common.txt |
|
100 | help/common.txt | |
101 | help/hg.1.txt |
|
101 | help/hg.1.txt | |
102 | help/hgignore.5.txt |
|
102 | help/hgignore.5.txt | |
103 | help/hgrc.5.txt |
|
103 | help/hgrc.5.txt | |
104 | help/internals/bundles.txt |
|
104 | help/internals/bundles.txt | |
105 | help/internals/changegroups.txt |
|
105 | help/internals/changegroups.txt | |
106 | Not tracked: |
|
106 | Not tracked: | |
107 |
|
107 | |||
108 | $ python wixxml.py templates |
|
108 | $ python wixxml.py templates | |
109 | Not installed: |
|
109 | Not installed: | |
110 | templates/map-cmdline.status |
|
|||
111 | Not tracked: |
|
110 | Not tracked: |
General Comments 0
You need to be logged in to leave comments.
Login now