use `git rev-parse` to get tag canonical revision.
Only add ssh options to commands that actually talk to the network.

At least in Mercurial 2.8.2, --ssh seems to be a command-specific parameter in
contrast to a global one. As a result, local commands error when seeing a --ssh
parameter. This change passes --ssh only for commands that actually talk to the
network ('incoming', 'pull' and 'clone' here).
add beaker-rspec support

This adds support for beaker-rspec as well as basic test coverage for git
Merge pull request #130 from Phil0xF7/add_beaker-rspec_tests

add beaker-rspec support
fix tabbing in vcsrepo test
Merge pull request #131 from igalic/fix-tabbing

fix tabbing in vcsrepo test
Merge pull request #121 from fkrull/master

Only add ssh options to commands that actually talk to the network.
Merge pull request #120 from huandu/master

Use `git rev-parse` to get tag canonical revision
Add acceptance tests for git protocols using clone

The git_clone_protocols_spec.rb will be used to enumerate over the
available protocols for git to use to clone to disk. Support
key files are also included for https/ssl use.

Protocols tested

    * file protocol (raw filepath)
    * file protocol (file://)
    * git protocol (git://)
    * http protocol (http://)
    * https protocol (https://)
    * ssh protocol (ssh://user@host)

TODO: Currently, the ssl cert is not added to the CA on the host.
This causes the git clone to fail because the cert is not trusted
and the client does not proceed with a non-trusted ssl connection.
Change apply syntax to apply_manifest_on
Use on(host, '') rather than host.execute('') syntax
Add test for ensure latest with branch specified
Fix issue where force=>true was not destroying repository then recreating
Merge pull request #138 from cyberious/FM-1284

Fix issue where force=>true was not destroying repository then recreatin...
Fix detached head state
update to use -a and desired for hard reset
Fix spec tests
Add rake tasks to test both beaker and beaker-rspec in one go
Merge pull request #140 from cyberious/RakeTask

Add rake tasks to test both beaker and beaker-rspec in one go
Added multiline parsing tests for branch -a