I want to push changes of a Mercurial Repository to Phabricator in our production.

What ever i try to do push or pull to the repository , it fails with the following command
HTTP Error: 500 (Error 255: abort: potentially unsafe serve –stdio invocation: [‘serve’, ‘–stdio’])

I am using Workbench and Tortoise for this.

Also note that this doesnt happen for any repository that is using GIT . This only occurs for mercurial Repositories.

Any idea on what configuration should i change on phabricator or on my local repository so that this can work?

I tried pushing with tortoiseHG and with HG workbench to no avail. Still geting the same error. I also tried to allow HTTP pushes to phabricator from the deffusion setting.Still the same thing