Closed Bug 1184031 Opened 8 years ago Closed 8 years ago

mach mercurial-setup fails if the ~/.mozbuild/mercurial folder doesn't exist

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
normal

Tracking

(firefox42 affected)

RESOLVED DUPLICATE of bug 1183982
Tracking Status
firefox42 --- affected

People

(Reporter: florian, Unassigned)

Details

$ ./mach mercurial-setup
Error running mach:

    ['mercurial-setup']

The error occurred in the implementation of the invoked mach command.

This should never occur and is likely a bug in the implementation of that
command. Consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

IOError: [Errno 2] No such file or directory: u'/Users/florian/.mozbuild/mercurial/setup.lastcheck'

  File "/Users/florian/buildhg/fx-team/tools/mercurial/mach_commands.py", line 54, in mercurial_setup
    with open(state_path, 'a'):



After running:
$ mkdir /Users/florian/.mozbuild/mercurial/
the command worked.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.