equal
deleted
inserted
replaced
10 from mercurial import ( |
10 from mercurial import ( |
11 bundle2, |
11 bundle2, |
12 changegroup, |
12 changegroup, |
13 error, |
13 error, |
14 extensions, |
14 extensions, |
15 pycompat, |
|
16 revsetlang, |
15 revsetlang, |
17 util, |
16 util, |
18 ) |
17 ) |
19 |
18 |
20 from . import common |
19 from . import common |
65 # .upper() marks this as a mandatory part: server will abort if there's no |
64 # .upper() marks this as a mandatory part: server will abort if there's no |
66 # handler |
65 # handler |
67 parts.append( |
66 parts.append( |
68 bundle2.bundlepart( |
67 bundle2.bundlepart( |
69 scratchbranchparttype.upper(), |
68 scratchbranchparttype.upper(), |
70 advisoryparams=pycompat.iteritems(params), |
69 advisoryparams=params.items(), |
71 data=cg, |
70 data=cg, |
72 ) |
71 ) |
73 ) |
72 ) |
74 |
73 |
75 return parts |
74 return parts |