hgext/mq.py
changeset 37521 2d00058ac2f8
parent 37520 fa6cdd6668e1
child 37522 58230f4fcc0b
equal deleted inserted replaced
37520:fa6cdd6668e1 37521:2d00058ac2f8
   675             write = self.ui.write
   675             write = self.ui.write
   676         else:
   676         else:
   677             write = self.ui.warn
   677             write = self.ui.warn
   678 
   678 
   679         if all_patches or self.ui.verbose:
   679         if all_patches or self.ui.verbose:
   680             if isinstance(idx, str):
   680             if isinstance(idx, bytes):
   681                 idx = self.series.index(idx)
   681                 idx = self.series.index(idx)
   682             pushable, why = self.pushable(idx)
   682             pushable, why = self.pushable(idx)
   683             if all_patches and pushable:
   683             if all_patches and pushable:
   684                 if why is None:
   684                 if why is None:
   685                     write(_('allowing %s - no guards in effect\n') %
   685                     write(_('allowing %s - no guards in effect\n') %