Permalink
Browse files

Bug 605292: Update hg on windows to hg 1.7.5. r=bhearsum

  • Loading branch information...
1 parent 87eba34 commit 6940433603ec49232d47bcbc212f72dbeb04577f @catlee catlee committed Feb 8, 2011
@@ -0,0 +1,6 @@
+[win32text]
+warn = False
+
+[extensions]
+share =
+purge =
@@ -0,0 +1,12 @@
+[Initial]
+Message=Mercurial hgrc Installation
+StayOnTop=false
+
+[Aktionen]
+DefVar $HomeDir$
+Set $HomeDir$ = "C:\\Documents and Settings\\cltbld"
+
+DosInAnIcon_install_hgrc
+
+[DosInAnIcon_install_hgrc]
+copy /Y %SCRIPTPATH%\hgrc "$HomeDir$\\.hgrc"
@@ -0,0 +1,23 @@
+[Package]
+version: 1
+depends:
+incremental: False
+
+[Product]
+type: localboot
+; id is a very short name for the package.
+id: mercurial-hgrc
+; name is a longer, more descript name.
+name: Mercurial hgrc
+description: Mercurial hgrc
+advice:
+version: 1
+priority: 0
+licenseRequired: False
+productClasses:
+setupScript: mercurial-hgrc.ins
+; These are rarely used.
+uninstallScript:
+updateScript:
+alwaysScript:
+onceScript:
@@ -0,0 +1,9 @@
+#! /bin/sh
+#
+# postinst script for template
+# This script executes after unpacking files from that archive and registering the product at the server.
+#
+# The following environment variables can be used to obtain information about the current installation:
+# PRODUCT_ID: id of the current product
+# CLIENT_DATA_DIR: directory which contains the installed client data
+#
@@ -0,0 +1,9 @@
+#! /bin/sh
+#
+# preinst script for template
+# This script executes before that package will be unpacked from its archive file.
+#
+# The following environment variables can be used to obtain information about the current installation:
+# PRODUCT_ID: id of the current product
+# CLIENT_DATA_DIR: directory where client data will be installed
+#
@@ -0,0 +1,31 @@
+[Initial]
+Message=Mercurial Installation
+StayOnTop=false
+
+[Aktionen]
+DefVar $InstallPrefix$
+DefVar $OldInstallPrefix$
+Set $InstallPrefix$ = "d:\\mozilla-build\\hg"
+Set $OldInstallPrefix$ = "d:\\mercurial"
+
+if FileExists("D:\mozilla-build\hg\unins000.exe")
+ Winbatch_uninstall_mb_mercurial
+endif
+
+if FileExists("D:\mercurial\unins000.exe")
+ Winbatch_uninstall_old_mercurial
+endif
+
+Winbatch_install_mercurial
+
+[Winbatch_uninstall_mb_mercurial]
+; Uninstall old versions
+$InstallPrefix$\unins000.exe /silent
+
+[Winbatch_uninstall_old_mercurial]
+; This is from before hg was bundled with Mozilla-Build
+$OldInstallPrefix$\unins000.exe /silent
+
+[Winbatch_install_mercurial]
+; To uninstall this version, "msiexec.exe /x{CA7BFE48-3444-4572-A32E-1B89F1EE6D88} /passive"
+msiexec /i %SCRIPTPATH%\mercurial-1.7.5-x86.msi /passive /log hg_install.log INSTALLDIR=$InstallPrefix$
View
@@ -0,0 +1,23 @@
+[Package]
+version: 1
+depends:
+incremental: False
+
+[Product]
+type: localboot
+; id is a very short name for the package.
+id: mercurial
+; name is a longer, more descript name.
+name: Mercurial
+description: Mercurial
+advice:
+version: 1.7.5
+priority: 0
+licenseRequired: False
+productClasses:
+setupScript: mercurial.ins
+; These are rarely used.
+uninstallScript:
+updateScript:
+alwaysScript:
+onceScript:
View
@@ -0,0 +1,9 @@
+#! /bin/sh
+#
+# postinst script for template
+# This script executes after unpacking files from that archive and registering the product at the server.
+#
+# The following environment variables can be used to obtain information about the current installation:
+# PRODUCT_ID: id of the current product
+# CLIENT_DATA_DIR: directory which contains the installed client data
+#
View
@@ -0,0 +1,9 @@
+#! /bin/sh
+#
+# preinst script for template
+# This script executes before that package will be unpacked from its archive file.
+#
+# The following environment variables can be used to obtain information about the current installation:
+# PRODUCT_ID: id of the current product
+# CLIENT_DATA_DIR: directory where client data will be installed
+#

0 comments on commit 6940433

Please sign in to comment.