Alessio Caiazza is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

nolith / redmine-bitbucket

Allow your Redmine installation to be notified when changes have been pushed to a Bitbucket repository.

Clone this repository (size: 55.0 KB): HTTPS / SSH
hg clone https://bitbucket.org/nolith/redmine-bitbucket
hg clone ssh://hg@bitbucket.org/nolith/redmine-bitbucket

Issues

#1 hg execution fails on Windows

Reported by vzlomanov

exec command fails, because of command format:

#!batch

> 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:

#!batch

> cd "projectPath" && hg pull

P.S. Thank you for the plugin :)

Status: resolved Responsible: Alessio Caiazza Type: bug Priority: major
Milestone: none Component: none Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Alessio Caiazza

    written , last edited

    Do you mind testing this version please? Thanks a lot.

    refs bug #1 - hg execution fails on Windows empty helper has been removed

    4fde57dbd2e6

  2. #2 Alessio Caiazza

    written

    • Changed responsible from nobody to nolith.
    • Changed status from new to open.
  3. #3 Anonymous

    written

    It works! Thanks.

  4. #4 vzlomanov

    written

    • Changed status from open to resolved.

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?