Show More
@@ -161,6 +161,7 b' not found (this is intentionally using b' | |||
|
161 | 161 | > import subprocess |
|
162 | 162 | > import sys |
|
163 | 163 | > import xml.etree.ElementTree as ET |
|
164 | > from mercurial import pycompat | |
|
164 | 165 | > |
|
165 | 166 | > # MSYS mangles the path if it expands $TESTDIR |
|
166 | 167 | > testdir = os.environ['TESTDIR'] |
@@ -177,7 +178,7 b' not found (this is intentionally using b' | |||
|
177 | 178 | > files = node.findall('./{%(wix)s}Component/{%(wix)s}File' % ns) |
|
178 | 179 | > |
|
179 | 180 | > for f in files: |
|
180 | > yield relpath + f.attrib['Name'] | |
|
181 | > yield pycompat.sysbytes(relpath + f.attrib['Name']) | |
|
181 | 182 | > |
|
182 | 183 | > def hgdirectory(relpath): |
|
183 | 184 | > '''generator of tracked files, rooted at relpath''' |
@@ -204,11 +205,11 b' not found (this is intentionally using b' | |||
|
204 | 205 | > |
|
205 | 206 | > print('Not installed:') |
|
206 | 207 | > for f in sorted(set(tracked) - set(installed)): |
|
207 | > print(' %s' % f) | |
|
208 | > print(' %s' % pycompat.sysstr(f)) | |
|
208 | 209 | > |
|
209 | 210 | > print('Not tracked:') |
|
210 | 211 | > for f in sorted(set(installed) - set(tracked)): |
|
211 | > print(' %s' % f) | |
|
212 | > print(' %s' % pycompat.sysstr(f)) | |
|
212 | 213 | > EOF |
|
213 | 214 | |
|
214 | 215 | $ ( testrepohgenv; "$PYTHON" wixxml.py help ) |
General Comments 0
You need to be logged in to leave comments.
Login now