title: How to link a folder with an existing Heroku app with mercurial
body: <p>I have an existing Django app on Bitbucket and I'm able to <a href="https://stackoverflow.com/q/9591380/343834">deploy to Heroku whith <code>hg-git</code></a>. Whenever i want to run some heroku command inside my app folder i get the following errors:</p>
  
  <pre><code>$ heroku ps
   !    No app specified.
   !    Run this command from an app folder or specify which app to use with --app &lt;app name&gt;
  $ heroku logs
   !    No app specified.
   !    Run this command from an app folder or specify which app to use with --app &lt;app name&gt;
  etc.
  </code></pre>
  
  <p>Current workaround is to specify the app name: <code>heroku ps --app &lt;app name&gt;</code> but i'm looking for a way to link my repository name to the remote Heroku app name like <a href="https://stackoverflow.com/q/5129598/343834">how it's done using git</a>.</p>
  
  <p>I'm not in a position to move my app to github for now.</p>