contrib/wix/dist.wxs
author Tim Henigan <tim.henigan@gmail.com>
Tue, 27 Nov 2012 08:47:35 -0500
branchstable
changeset 17984 b74361cf7c0a
parent 17389 59581b667cd7
child 25409 95e042d77a5f
permissions -rw-r--r--
update: allow update to existing branches with invalid names (issue3710) Starting with 361ab1e2086f, users are no longer able to update a working copy to a branch named with a "bad" character (such as ':'). Prior to v2.4, it was possible to create branch names using "bad" characters, so this breaks backwards compatibility. Mercurial must allow users to update to existing branches with bad names. However, it should continue to prevent the creation of new branches with bad names. A test was added to confirm that 'hg update' works as expected. The test uses a bundled repo that was created with an earlier version of Mercurial.

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

  <?include guids.wxi ?>
  <?include defines.wxi ?>

  <Fragment>
    <DirectoryRef Id="INSTALLDIR" FileSource="$(var.SourceDir)">
      <Component Id="distOutput" Guid="$(var.dist.guid)" Win64='$(var.IsX64)'>
        <File Name="library.zip" KeyPath="yes" />
        <File Name="mercurial.base85.pyd" />
        <File Name="mercurial.bdiff.pyd" />
        <File Name="mercurial.diffhelpers.pyd" />
        <File Name="mercurial.mpatch.pyd" />
        <File Name="mercurial.osutil.pyd" />
        <File Name="mercurial.parsers.pyd" />
        <File Name="pyexpat.pyd" />
        <File Name="python27.dll" />
        <File Name="bz2.pyd" />
        <File Name="select.pyd" />
        <File Name="unicodedata.pyd" />
        <File Name="_ctypes.pyd" />
        <File Name="_elementtree.pyd" />
        <File Name="_hashlib.pyd" />
        <File Name="_socket.pyd" />
        <File Name="_ssl.pyd" />
      </Component>
    </DirectoryRef>
  </Fragment>

</Wix>