Updated Updating pdf.js on Mozilla Central (markdown)
parent
0f9c3ce52b
commit
8eaac6724b
@ -85,4 +85,27 @@ hg qpop
|
|||||||
+ Generate Patch (after successful try run, replace bug number)
|
+ Generate Patch (after successful try run, replace bug number)
|
||||||
```
|
```
|
||||||
hg export qtip > ~/projects/mine/pdf.js/patches~/bug-743264-fix.patch
|
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 <baseLineCommit>
|
||||||
|
```
|
||||||
|
|
||||||
|
+ Cherry Pick the commit you need to uplift
|
||||||
|
```
|
||||||
|
git cherry-pick <someCommit>
|
||||||
|
```
|
||||||
|
|
||||||
|
+ Build the patch
|
||||||
|
```
|
||||||
|
BASELINE=<baseLineCommit> node make mozcentralbaseline; node make mozcentraldiff
|
||||||
|
```
|
||||||
|
|
||||||
|
+ Apply that to the branch
|
||||||
|
```
|
||||||
|
qimport -n cherry-pick <pdf.js build folder>/mozcentral.diff; qpush;
|
||||||
```
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user