1. Chia-Huan Wu
  2. freehg

Commits

mmar...@swallow  committed 287584c

Added 'contact' option to hgrc.

  • Participants
  • Parent commits 14c98d9
  • Branches default

Comments (0)

Files changed (1)

File repos/models.py

View file
         if self.description:
             f.write("description = %s\n" %
                 self.get_html_description().replace('\n','').replace('%', '%%'))
+        f.write("contact = %s\n" % (self.owner.get_full_name() or self.owner.username))
         f.close()
 
+
     def get_html_description(self):
         return linebreaks(urlize(escape(self.description)))