Mercurial > hg
view contrib/wix/contrib.wxs @ 39318:c03c5f528e9b
perf: use storage API for resolving manifest node
lookup() isn't part of the storage API. And this code shouldn't
be accessing manifestlog._revlog directly for the modern code base.
So let's port it to the modern API.
Note that the previous code was busted for cases where we needed
to call lookup() because lookup() isn't exposed by manifestrevlog
any more.
This change is strictly BC breaking because we no longer support
resolving partial nodes. But it is a perf* command and I don't
think we should flag the change as such.
Differential Revision: https://phab.mercurial-scm.org/D4390
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 15 Aug 2018 19:45:39 +0000 |
parents | 5716d10e89e7 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <?include guids.wxi ?> <?include defines.wxi ?> <Fragment> <ComponentGroup Id="contribFolder"> <ComponentRef Id="contrib" /> <ComponentRef Id="contrib.vim" /> </ComponentGroup> </Fragment> <Fragment> <DirectoryRef Id="INSTALLDIR"> <Directory Id="contribdir" Name="contrib" FileSource="$(var.SourceDir)"> <Component Id="contrib" Guid="$(var.contrib.guid)" Win64='$(var.IsX64)'> <File Name="bash_completion" KeyPath="yes" /> <File Name="hgk" /> <File Name="hgweb.fcgi" /> <File Name="hgweb.wsgi" /> <File Name="logo-droplets.svg" /> <File Name="mercurial.el" /> <File Name="tcsh_completion" /> <File Name="tcsh_completion_build.sh" /> <File Name="xml.rnc" /> <File Name="zsh_completion" /> </Component> <Directory Id="vimdir" Name="vim"> <Component Id="contrib.vim" Guid="$(var.contrib.vim.guid)" Win64='$(var.IsX64)'> <File Name="hg-menu.vim" KeyPath="yes" /> <File Name="HGAnnotate.vim" /> <File Name="hgcommand.vim" /> <File Name="patchreview.txt" /> <File Name="patchreview.vim" /> <File Name="hgtest.vim" /> </Component> </Directory> </Directory> </DirectoryRef> </Fragment> </Wix>