hgext/rebase.py
branchstable
changeset 14917 2957b8b1e809
parent 14897 b9daa5b7a3af
child 15132 81f76098211e
equal deleted inserted replaced
14916:58f97dcbd550 14917:2957b8b1e809
   178             if collapsef:
   178             if collapsef:
   179                 branches = set()
   179                 branches = set()
   180                 for rev in state:
   180                 for rev in state:
   181                     branches.add(repo[rev].branch())
   181                     branches.add(repo[rev].branch())
   182                     if len(branches) > 1:
   182                     if len(branches) > 1:
   183                         raise util.Abort(_('cannot collapse multiple named ' 
   183                         raise util.Abort(_('cannot collapse multiple named '
   184                             'branches'))
   184                             'branches'))
   185 
   185 
   186 
   186 
   187         # Rebase
   187         # Rebase
   188         if not targetancestors:
   188         if not targetancestors: