isabanin / mercurial-ruby

Ruby API for Mercurial DVCS.
MIT License
41 stars 14 forks source link

Make branch / tag name support space and dot #5

Closed windix closed 4 years ago

windix commented 9 years ago

Hi Ilya,

This change is similar to my previous pull request #2 -- but to introduce the support of space and dot to both branch and tag name. As one thing I noticed recently at work is that to support branch / tag name like version number "2.5.1" is quite important.

Also tried to update the test fixture and test cases for the change. Note there are still two test cases failing for test_file_index which I am not familiar with, so leave them as is.

And the last, noticed the .ruby-version is still point to 1.8.7 -- this can be updated too if you like. Tested with ruby 2.0.0 without any issue.

Cheers, Wei