mercurial/bundle2.py
changeset 25319 c3ef4f3b8680
parent 25318 64dd8f25fcf4
child 25320 697d8953b04d
equal deleted inserted replaced
25318:64dd8f25fcf4 25319:c3ef4f3b8680
   177     """debug regarding output stream (bundling)"""
   177     """debug regarding output stream (bundling)"""
   178     ui.debug('bundle2-output: %s\n' % message)
   178     ui.debug('bundle2-output: %s\n' % message)
   179 
   179 
   180 def indebug(ui, message):
   180 def indebug(ui, message):
   181     """debug on input stream (unbundling)"""
   181     """debug on input stream (unbundling)"""
   182     ui.debug(message)
   182     ui.debug('bundle2-input: %s' % message)
   183 
   183 
   184 def validateparttype(parttype):
   184 def validateparttype(parttype):
   185     """raise ValueError if a parttype contains invalid character"""
   185     """raise ValueError if a parttype contains invalid character"""
   186     if _parttypeforbidden.search(parttype):
   186     if _parttypeforbidden.search(parttype):
   187         raise ValueError(parttype)
   187         raise ValueError(parttype)