3496: permit mercurial local fs repositories

s.a.h******@gmai***** (Google Code) (Is this you? Claim this profile.)
What version are you running?

2.0.4

What's the URL of the page this enhancement relates to, if any?

n/a

Describe the enhancement and the motivation for it.

I would like the ability to mount the remote location for my repositories and have reviewboard use this mountpoint as the readonly location for diffs.

What operating system are you using? What browser?

n/a.

Please provide any additional information below.

This is a simple workaround to scmtools/hg.py, simply do not attempt to use hg's ssh or rbssh if the repository path does not begin with ssh://.  This allows me to mount my repositories on /mnt/hg and reviewboard does the right thing with respect to diff viewing.

Patch attached.
david
#1 david
All patches should go to https://reviews.reviewboard.org
  • +Component-SCMTools