Added check to len of revision id on Mercurial

Calling rbt post with merge revision id as single parameter causing an error.
I've added check to length of revision id.

Testing Done:
All tests complete.

Reviewed at https://reviews.reviewboard.org/r/5943/