title: No default repository defined
body: <p>How to set up links to the revision ? </p>
  
  <p>I enter [revision_number], rRevision_number, and take an error:</p>
  
  <pre><code>No default repository defined
  </code></pre>
  
  <p><strong>I found a solution to the Internet</strong></p>
  
  <p>1) give the name for the repository - "default"</p>
  
  <p>2) create a folder (hooks) in trac project </p>
  
  <p>3) create a file "post-commit" in /hooks </p>
  
  <p><strong>post-commit</strong> content:</p>
  
  <pre><code>trac-admin $ENV changeset added "default" $REV
  </code></pre>
  
  <p>But it still does not work. what could be wrong?</p>