Publishing/non-publishing Mercurial repos via REST API?


#1

I see that RhodeCode supports creating non-publishing repos through the web GUI, but I can’t find any way to do this via the REST API. We have the need to create repositories as part of an automated workflow. There would be two repositories created. One main publishing repo, and another development repo that is a non-publishing clone of it. Is there a way to do this via the REST API?


#2

Hi,

currently our API doesn’t allow to do this. I’ll create a ticket to expose vcs settings via API. That would be indeed handy.


#3

Thanks! Please let me know the issue # so I can track when it will be available.


#4

Here’s the internal ticket we did: https://issues.rhodecode.com/issues/4021