Bug 1511656 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Also seeing this; In my case, I'm trying to `hg graft` a patch from near tip to esr60: 

```
resolving manifests
 branchmerge: True, force: True, partial: False
 ancestor: 2bf86657a448, local: db09f3a62a37+, remote: 01710e1d51de
 preserving js/src/jit/IonAnalysis.cpp for resolve of js/src/jit/IonAnalysis.cpp
 preserving js/src/jit/IonBuilder.cpp for resolve of js/src/jit/IonBuilder.cpp
 preserving js/src/jit/MIR.h for resolve of js/src/jit/MIR.h
 js/src/jit/IonAnalysis.cpp: versions differ -> m (premerge)
Files to be: js/src/jit/IonAnalysis.cpp js/src/jit/IonAnalysis.cpp js/src/jit/IonAnalysis.cpp
running /Users/mgaudet/mozilla-unified-clean-2/mach clang-format -assume-filename=$HG_FILENAME -p /var/folders/b7/yvcc5cld3wg97tl62wbcl9zw0000gn/T/tmplCc3hp.cpp
abort: clang-format: mach exited with status 1
```

If I run that `mach` command by hand, I see this error 

```
/Users/mgaudet/mozilla-unified-clean-2/mach clang-format -assume-filename=js/src/jit/IonAnalysis.cpp -p /var/folders/b7/yvcc5cld3wg97tl62wbcl9zw0000gn/T/tmplCc3hp.cpp
It looks like you passed an unrecognized argument into mach.

The clang-format command does not accept the arguments: -assume-filename=js/src/jit/IonAnalysis.cpp
```

This is irksome, as support for `clang-format --assume-filename` isn't in ESR60's copy of mach, and so I cannot `graft` this change, as `graft` works by having your current directory checked out to the target branch. (I think if I could figure out how to disable format source, this work work)
Also seeing this; In my case, I'm trying to `hg graft` a patch from near tip to esr60: 

```
resolving manifests
 branchmerge: True, force: True, partial: False
 ancestor: 2bf86657a448, local: db09f3a62a37+, remote: 01710e1d51de
 preserving js/src/jit/IonAnalysis.cpp for resolve of js/src/jit/IonAnalysis.cpp
 preserving js/src/jit/IonBuilder.cpp for resolve of js/src/jit/IonBuilder.cpp
 preserving js/src/jit/MIR.h for resolve of js/src/jit/MIR.h
 js/src/jit/IonAnalysis.cpp: versions differ -> m (premerge)
Files to be: js/src/jit/IonAnalysis.cpp js/src/jit/IonAnalysis.cpp js/src/jit/IonAnalysis.cpp
running /Users/mgaudet/mozilla-unified-clean-2/mach clang-format -assume-filename=$HG_FILENAME -p /var/folders/b7/yvcc5cld3wg97tl62wbcl9zw0000gn/T/tmplCc3hp.cpp
abort: clang-format: mach exited with status 1
```

If I run that `mach` command by hand, I see this error 

```
/Users/mgaudet/mozilla-unified-clean-2/mach clang-format -assume-filename=js/src/jit/IonAnalysis.cpp -p /var/folders/b7/yvcc5cld3wg97tl62wbcl9zw0000gn/T/tmplCc3hp.cpp
It looks like you passed an unrecognized argument into mach.

The clang-format command does not accept the arguments: -assume-filename=js/src/jit/IonAnalysis.cpp
```

This is irksome, as support for `clang-format --assume-filename` isn't in ESR60's copy of mach (so `mach bootstrap` doesn't resolve this), and so I cannot `graft` this change, as `graft` works by having your current directory checked out to the target branch. (I think if I could figure out how to disable format source, this work work)

Back to Bug 1511656 Comment 3