Mercurial: Create Remote Repositories Using PowerShell

added by DannyDouglass
8/2/2010 9:24:05 PM


One limitation when using http as a publishing mechanism is that you cannot create a repository remotely; no if, ands, or buts about it. Another twist was that our CM (Configuration Management) procedures dictate that our developers are not permitted to RDP into the Mercurial server. This left us trying to decide how to allow developers to create repositories remotely since our http communication channel does not allow remote repository creation. This post details an approach leveraging PowerShell as a solution to this problem.