I want to create a repository from my local machine using hg commands on Bitbucket instead of creating a repo manually on Bitbucket. Is it possible?
Asked
Active
Viewed 6,366 times
4 Answers
6
I believe the only way to make a BitBucket repo is on BitBucket, either through their web interface, or their API.
This question has details of how to create an empty repo on BitBucket then push local content to it.

Community
- 1
- 1

Ned Batchelder
- 364,293
- 75
- 561
- 662
6
You can create a bitbucket repository using their API. I use this Python script to create my repositories, then edit the .hgrc, then push the repo.

Jason R. Coombs
- 41,115
- 10
- 83
- 93