Can I delete repositories from mercurial-server?

3.4k views Asked by At

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?

1

There are 1 answers

4
Doon On BEST ANSWER

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..