Show More
@@ -153,6 +153,7 class unbundle20(object): | |||
|
153 | 153 | if paramssize: |
|
154 | 154 | for p in self._readexact(paramssize).split(' '): |
|
155 | 155 | p = p.split('=', 1) |
|
156 | p = [urllib.unquote(i) for i in p] | |
|
156 | 157 | if len(p) < 2: |
|
157 | 158 | p.append(None) |
|
158 | 159 | params[p[0]] = p[1] |
@@ -140,3 +140,12 Test generation | |||
|
140 | 140 | |
|
141 | 141 | $ hg bundle2 --param 'e|! 7/=babar%#==tutu' --param simple |
|
142 | 142 | HG20\x00)e%7C%21%207/=babar%25%23%3D%3Dtutu simple\x00\x00 (no-eol) (esc) |
|
143 | ||
|
144 | Test unbundling | |
|
145 | ||
|
146 | $ hg bundle2 --param 'e|! 7/=babar%#==tutu' --param simple | hg unbundle2 | |
|
147 | options count: 2 | |
|
148 | - e|! 7/ | |
|
149 | babar%#==tutu | |
|
150 | - simple | |
|
151 | parts count: 0 |
General Comments 0
You need to be logged in to leave comments.
Login now