gecko-dev/python/mozbuild/mozpack
Mike Shal f1348beac8 Bug 1394576 - Fix install manifests tracking with broken symlinks; r=gps
The install manifest with the .track files uses os.path.exists() to
determine if a previously tracked file is no longer installed and needs
to be removed from the system. However, exists() returns False for
broken symlinks, so as far as the manifest is concerned, there is no
file in the filesystem that needs to be removed. We should use lexists()
so we know that the broken symlink still exists in the system so
that it can be removed when the install manifest is processed.

MozReview-Commit-ID: 6v7CYOKzjGs

--HG--
extra : rebase_source : 8aeeef59e644613f34c8458bd30a83d8299585ea
2017-08-28 22:12:04 -04:00
..
chrome Bug 863246 - Move resources that need to be exposed to web content to locations that are marked as contentaccessible r=billm 2017-06-08 17:52:46 +08:00
packager Bug 1352595 - Add basic support for brotli compression to the packager. r=gps 2017-08-18 05:37:18 +09:00
test Bug 1384224 - Add support for hardlinks to InstallManifest; r=gps 2017-07-25 14:06:15 -04:00
__init__.py
archive.py Bug 1390968: python-3 compatibility for python/**/*.py; r=Alex_Gaynor,gps 2017-08-28 21:31:30 +00:00
copier.py Bug 1352595 - Add basic support for brotli compression to the packager. r=gps 2017-08-18 05:37:18 +09:00
dmg.py Bug 1185666 - Move DMG unpack logic to a python script, support linux. r=mshal 2017-03-28 21:46:19 -04:00
errors.py
executables.py Backed out changeset 6134b92d1b08 (bug 1277483) 2016-06-07 11:46:16 +02:00
files.py Bug 1394576 - Fix install manifests tracking with broken symlinks; r=gps 2017-08-28 22:12:04 -04:00
hg.py
manifests.py Bug 1384241 - Add |mach watch|: pywatchman based incremental |mach build faster| shell. r=gps 2017-07-26 20:34:09 -07:00
mozjar.py Bug 1390968: python-3 compatibility for python/**/*.py; r=Alex_Gaynor,gps 2017-08-28 21:31:30 +00:00
path.py Bug 1289949 - Make mozpack.path properly handle paths on mingw python. r=gps 2016-07-28 18:50:57 +09:00