mercurial/bundle2.py
changeset 36428 0b697c650b04
parent 36427 247b473f408e
child 36963 9988fc10f49e
equal deleted inserted replaced
36427:247b473f408e 36428:0b697c650b04
  2000     if inpart.mandatory and not ret:
  2000     if inpart.mandatory and not ret:
  2001         kwargs = {}
  2001         kwargs = {}
  2002         for key in ('namespace', 'key', 'new', 'old', 'ret'):
  2002         for key in ('namespace', 'key', 'new', 'old', 'ret'):
  2003             if key in inpart.params:
  2003             if key in inpart.params:
  2004                 kwargs[key] = inpart.params[key]
  2004                 kwargs[key] = inpart.params[key]
  2005         raise error.PushkeyFailed(partid=str(inpart.id),
  2005         raise error.PushkeyFailed(partid='%d' % inpart.id,
  2006                                   **pycompat.strkwargs(kwargs))
  2006                                   **pycompat.strkwargs(kwargs))
  2007 
  2007 
  2008 @parthandler('bookmarks')
  2008 @parthandler('bookmarks')
  2009 def handlebookmark(op, inpart):
  2009 def handlebookmark(op, inpart):
  2010     """transmit bookmark information
  2010     """transmit bookmark information