hgext/notify.py
changeset 6762 f67d1468ac50
parent 6750 fb42030d79d6
child 6866 0ff5d2bbd8b1
equal deleted inserted replaced
6761:cb981fc955fb 6762:f67d1468ac50
   154                     subs[self.fixmail(user)] = 1
   154                     subs[self.fixmail(user)] = 1
   155         for pat, users in self.ui.configitems('reposubs'):
   155         for pat, users in self.ui.configitems('reposubs'):
   156             if fnmatch.fnmatch(self.repo.root, pat):
   156             if fnmatch.fnmatch(self.repo.root, pat):
   157                 for user in users.split(','):
   157                 for user in users.split(','):
   158                     subs[self.fixmail(user)] = 1
   158                     subs[self.fixmail(user)] = 1
   159         subs = subs.keys()
   159         return util.sort(subs)
   160         subs.sort()
       
   161         return subs
       
   162 
   160 
   163     def url(self, path=None):
   161     def url(self, path=None):
   164         return self.ui.config('web', 'baseurl') + (path or self.root)
   162         return self.ui.config('web', 'baseurl') + (path or self.root)
   165 
   163 
   166     def node(self, node):
   164     def node(self, node):