Commits

Matthew Marshall committed 9de7753

added multiple commiters support when writing the hgrc file.

  • Participants
  • Parent commits bb60a15

Comments (0)

Files changed (1)

             f.write(line.encode('utf8') + "\n")
         f.write("[web]\n")
         f.write("push_ssl = false\n")
-        f.write("allow_push = %s\n" % self.owner.username)
+        allow_push = [self.owner.username] + [
+                u.username for u in self.allow_push.all()]
+        f.write("allow_push = %s\n" % "  ".join(allow_push))
         if self.long_name:
             wl("name = %s" % escape(self.get_long_name()))
         else: