Open Bug 1810183 Opened 3 years ago Updated 3 years ago

Mach error with modified & renamed files when amending

Categories

(Developer Services :: Mercurial: mozext, defect)

defect

Tracking

(Not tracked)

People

(Reporter: calixte, Unassigned)

Details

➜  mozilla-central > nano toolkit/components/pdfjs/content/PdfJs.jsm
➜  mozilla-central > hg commit -m "Test"
✖ 0 problems (0 errors, 0 warnings, 0 fixed)
created new head
➜  mozilla-central > mv toolkit/components/pdfjs/content/PdfJs.jsm toolkit/components/pdfjs/content/PdfJs.sys.mjs
➜  mozilla-central > nano toolkit/components/pdfjs/content/PdfJs.sys.mjs
➜  mozilla-central > hg addremove
removing toolkit/components/pdfjs/content/PdfJs.jsm
adding toolkit/components/pdfjs/content/PdfJs.sys.mjs
➜  mozilla-central > hg commit --amend
usage: mach [-h] [-l LINTERS] [--list] [-W [{soft}]] [-v] [-f FORMATS] [-n] [--include-third-party] [-o [OUTGOING]]
            [-w [{staged,all}]] [-r REV] [--fix] [--edit] [--setup] [-j NUM_PROCS] [--check-exclude-list]
            [paths [paths ...]] ...
mach: error: the following paths do not exist:
toolkit/components/pdfjs/content/PdfJs.jsm

Is it possible to try the commit in the verbose mode?

Flags: needinfo?(cdenizet)
Component: Lint and Formatting → Mercurial: mozext
Product: Developer Infrastructure → Developer Services

I talked with :calixte offline so no need for ni from him.
Connor this seems to be a problem with the extension for JS.

Flags: needinfo?(cdenizet)
You need to log in before you can comment on or make changes to this bug.