[WIP]Adding support for Mercurial repositories to RB-Gateway.
Review Request #9398 — Created Nov. 25, 2017 and discarded — Latest diff uploaded
Added the
hg
case toLoadConfig
, this allows Hg repos to be defined
in the config file. TheHgRepository
type has been created and
currently supportsGetName
,GetPath
,GetFile
&GetFileByCommit
.
Interactions with Hg repos are done through Mercurial's command server
throughgohg
.
httpie
was used to sendGetName
,GetPath
,GetFile
&
GetFileByCommit
. GET requests requesting information from an Hg repo.
Each request yielded the expected result.