From 8eaac6724b16c169f08c1eec183ed32a3e675dfc Mon Sep 17 00:00:00 2001 From: brendandahl Date: Fri, 1 Mar 2013 10:17:13 -0800 Subject: [PATCH] Updated Updating pdf.js on Mozilla Central (markdown) --- Updating-pdf.js-on-Mozilla-Central.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Updating-pdf.js-on-Mozilla-Central.md b/Updating-pdf.js-on-Mozilla-Central.md index a9321ed..6164242 100644 --- a/Updating-pdf.js-on-Mozilla-Central.md +++ b/Updating-pdf.js-on-Mozilla-Central.md @@ -85,4 +85,27 @@ hg qpop + Generate Patch (after successful try run, replace bug number) ``` hg export qtip > ~/projects/mine/pdf.js/patches~/bug-743264-fix.patch +``` + +### If Uplift is Needed ++ Find what version of pdf.js is in the branch by looking at the pdf.js file and PDFJS.build variable e.g. PDFJS.build = 'f8e70dc'; + ++ Check out that version +``` +git checkout -b tt-aurora-fix +``` + ++ Cherry Pick the commit you need to uplift +``` +git cherry-pick +``` + ++ Build the patch +``` +BASELINE= node make mozcentralbaseline; node make mozcentraldiff +``` + ++ Apply that to the branch +``` +qimport -n cherry-pick /mozcentral.diff; qpush; ``` \ No newline at end of file