##// END OF EJS Templates
bundle2: add a comment about addchangegroup source and url
Pierre-Yves David -
r23001:4df9b5e6 default
parent child Browse files
Show More
@@ -821,6 +821,8 b' def handlechangegroup(op, inpart):'
821 # for the whole processing scope.
821 # for the whole processing scope.
822 op.gettransaction()
822 op.gettransaction()
823 cg = changegroup.cg1unpacker(inpart, 'UN')
823 cg = changegroup.cg1unpacker(inpart, 'UN')
824 # the source and url passed here are overwritten by the one contained in
825 # the transaction.hookargs argument. So 'bundle2' is a placeholder
824 ret = changegroup.addchangegroup(op.repo, cg, 'bundle2', 'bundle2')
826 ret = changegroup.addchangegroup(op.repo, cg, 'bundle2', 'bundle2')
825 op.records.add('changegroup', {'return': ret})
827 op.records.add('changegroup', {'return': ret})
826 if op.reply is not None:
828 if op.reply is not None:
General Comments 0
You need to be logged in to leave comments. Login now