title: What's the best way to start a project in mercurial when you already have files in the project?
body: <p>I'm starting with Mercurial. I'm reading the <a href="http://hgbook.red-bean.com/read/" rel="nofollow">mercurial book</a> but still have a question.</p>
  
  <p>I've started my project month ago, and i have a lot of files and directories in it. Now, i want to use Mercurial and made myself an account in bitbucket. Now, i want to set this project up in Bitbucket. How can i add all those files to the bitbucket repo?</p>
  
  <p>This is what i was thinking i could do:
  I could try to (1) clone the empty repo (from bitbucket) (1) copy all files into that directory, (3) issue an "hg add" and after that (4) commiting.</p>
  
  <p>Maybe you have a better way to do this.</p>
  
  <p>Thanks!</p>
  
  <p>(1) </p>
  
  <pre><code>hg clone https://ME@bitbucket.org/ME/myproject
  </code></pre>
  
  <p>(2) </p>
  
  <pre><code>cp existing-project/* myproject/
  cd myproject
  </code></pre>
  
  <p>(3) </p>
  
  <pre><code>hg add
  </code></pre>
  
  <p>(4)</p>
  
  <pre><code>hg commit -u ME
  </code></pre>
  
  <p>(5)</p>
  
  <pre><code>hg push (i think i have to do this to make the changes visible)
  </code></pre>