Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fsmonitor mercurial extension not responding #374

Closed
shubham2892 opened this issue Oct 13, 2016 · 4 comments
Closed

fsmonitor mercurial extension not responding #374

shubham2892 opened this issue Oct 13, 2016 · 4 comments

Comments

@shubham2892
Copy link

shubham2892 commented Oct 13, 2016

I was trying to clone the mozilla repository and mercurial was configured to use the fsmonitor extension. Cloning freezes at "updating to branch default". On removing the extension from .hgrc file it works fine. I am using watchman 4.7.0 on Mac OS 10.12.1 Beta (16B2548a).

@wez
Copy link
Contributor

wez commented Oct 13, 2016

There's not a lot of info to go on here, and like any good problem, there are several layers of complexity to untangle.

Let's look at the basic watchman configuration first of all.

Below, $REPO is the path to the root of your mozilla repository clone (the directory that contains the .hg directory).

Please run the following commands and share the output:

  1. time watchman watch-project $REPO
  2. watchman watch-list
  3. time watchman find $REPO .hg

Please collect your watchman log file into a gist or pastebin and share it with me. https://facebook.github.io/watchman/docs/troubleshooting.html#where-are-the-logs has information on how to locate your log files.

Re-enable the fsmonitor extension and run:

  • time hg status --profile

If it takes longer than a handful of seconds to run, please collect a sample of both the watchman server process and the python process that is behind your hg command. You can do this by opening Activity Monitor, selecting the watchman process in the list and clicking on the gear icon in the toolbar and choosing "Sample Process". Repeat this for the python process for hg.

Please share the samples in a gist/pastebin.

@shubham2892
Copy link
Author

shubham2892 commented Oct 16, 2016

Hi Wez,
On executing any watchman command, I don't get any response as in terminal freezes including the commands you mentioned above. Same is the case when I run time hg status --profile with fsmonintor enabled.

Sharing the sample process for time hg status --profile with fsmonitor enabled. Please do let me know what else you need.

I also cannot locate the log file, I installed watchman using homebrew and log files are not in the location mentioned in the link you shared.

@wez
Copy link
Contributor

wez commented Oct 16, 2016

I wonder if you're hitting this upgrade issue: #358

@shubham2892
Copy link
Author

That worked very well. Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants