Bug 1332797 - Note the double-conversion git revision last used when importing double-conversion code. r=froydnj
authorJeff Walden <jwalden@mit.edu>
Tue, 24 Jan 2017 12:56:06 -0800
changeset 331737 52424aa83fa9209ffd7956497b07eabecddb57c0
parent 331736 b8d6011de195c5858faa95104a76a8dc99150207
child 331738 def2e655ff137cf113c74feb1cb4df3e69384801
push id86340
push userjwalden@mit.edu
push dateTue, 31 Jan 2017 00:13:34 +0000
treeherdermozilla-inbound@def2e655ff13 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1332797
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1332797 - Note the double-conversion git revision last used when importing double-conversion code. r=froydnj
mfbt/double-conversion/GIT-INFO
mfbt/double-conversion/update.sh
new file mode 100644
--- /dev/null
+++ b/mfbt/double-conversion/GIT-INFO
@@ -0,0 +1,9 @@
+commit d8d4e668ee1e6e10b728f0671a89b07d7c4d45be
+Merge: 79fb300 48b5e70
+Author: Florian Loitsch <florian@loitsch.com>
+Date:   Wed Nov 23 19:14:38 2016 +0100
+
+    Merge pull request #39 from uburuntu/master
+    
+    Some small fixes: compilation, null ptr derefence and const qualifiers
+
--- a/mfbt/double-conversion/update.sh
+++ b/mfbt/double-conversion/update.sh
@@ -1,34 +1,31 @@
 #!/bin/bash
 
 # Usage: ./update.sh [<git-rev-to-use>]
 #
 # Copies the needed files from a directory containing the original
 # double-conversion source that we need.  If no revision is specified, the tip
-# revision is used.
-
-# This was last updated with git rev d8d4e668ee1e6e10b728f0671a89b07d7c4d45be.
+# revision is used.  See GIT-INFO for the last revision used.
 
 set -e
 
 LOCAL_PATCHES=""
 
 LOCAL_PATCHES="$LOCAL_PATCHES add-mfbt-api-markers.patch"
 LOCAL_PATCHES="$LOCAL_PATCHES use-StandardInteger.patch"
 LOCAL_PATCHES="$LOCAL_PATCHES use-mozilla-assertions.patch"
 LOCAL_PATCHES="$LOCAL_PATCHES ToPrecision-exponential.patch"
 
 TMPDIR=`mktemp --directory`
 LOCAL_CLONE="$TMPDIR/double-conversion"
 
 git clone https://github.com/google/double-conversion.git "$LOCAL_CLONE"
 
-REV=""
-
+# If a particular revision was requested, check it out.
 if [ "$1" !=  "" ]; then
   git -C "$LOCAL_CLONE" checkout "$1"
 fi
 
 # First clear out everything already present.
 DEST=./source
 mv "$DEST" "$TMPDIR"/
 mkdir "$DEST"
@@ -66,8 +63,11 @@ for patch in $LOCAL_PATCHES; do
     mv "$TMPDIR"/source "$DEST"
 
     exit 1
   fi
 done
 
 # Update Mercurial file status.
 hg addremove "$DEST"
+
+# Note the revision used in this update.
+git -C "$LOCAL_CLONE" show > ./GIT-INFO