1. Alessio Caiazza
  2. redmine_bitbucket_hook
  3. Issues
Issue #1 resolved

hg execution fails on Windows

created an issue

exec command fails, because of command format: {{{


cd 'projectPath' && hg pull The filename, directory name, or volume label syntax is incorrect. }}}

You should replace quote to double quote to fix problem. I have made the next one fix: {{{


command = command.gsub("'","\"") }}} (I'm not familiar with Ruby)

It produce the next command: {{{


cd "projectPath" && hg pull }}}

P.S. Thank you for the plugin :)

Comments (4)

  1. Log in to comment