I 开发者_开发百科made a repository as a test a while ago but I now want to create a different repository with the same name - is there a way to delete an existing repository using mercurial-server, and create another one with the same name? Or perhaps a way to overwrite the contents of a repository?
Mercurial repos are just file system paths, so you should be able to remove the the repo and rebuild a new one it isn't place. IN looking it appears the mercurial-server wraps standard repos with a special restricted shell, to control access. I've never used mercurial-server, but I don't see why you couldn't create a backup of the directory at the filesystem level, then rm it and start over..
精彩评论