Show More
@@ -1155,20 +1155,21 Pushing a really long bookmark should wo | |||||
1155 | =============================================== |
|
1155 | =============================================== | |
1156 |
|
1156 | |||
1157 | #if b2-binary |
|
1157 | #if b2-binary | |
|
1158 | (use `sh -c` as Windows struggle with the long argument) | |||
1158 | >>> with open('longname', 'w') as f: |
|
1159 | >>> with open('longname', 'w') as f: | |
1159 | ... f.write('wat' * 100) and None |
|
1160 | ... f.write('wat' * 100) and None | |
1160 | $ hg book `cat longname` |
|
1161 | $ sh -c "hg book `cat longname`" | |
1161 | $ hg push -B `cat longname` ../unchanged-b |
|
1162 | $ sh -c "hg push -B `cat longname` ../unchanged-b" | |
1162 | pushing to ../unchanged-b |
|
1163 | pushing to ../unchanged-b | |
1163 | searching for changes |
|
1164 | searching for changes | |
1164 | no changes found |
|
1165 | no changes found | |
1165 | exporting bookmark (wat){100} (re) |
|
1166 | exporting bookmark (wat){100} (re) | |
1166 | [1] |
|
1167 | [1] | |
1167 | $ hg -R ../unchanged-b book --delete `cat longname` |
|
1168 | $ sh -c "hg -R ../unchanged-b book --delete `cat longname`" | |
1168 |
|
1169 | |||
1169 | Test again but forcing bundle2 exchange to make sure that doesn't regress. |
|
1170 | Test again but forcing bundle2 exchange to make sure that doesn't regress. | |
1170 |
|
1171 | |||
1171 |
$ |
|
1172 | $ sh -c "hg push -B `cat longname` ../unchanged-b --config devel.legacy.exchange=bundle1" | |
1172 | pushing to ../unchanged-b |
|
1173 | pushing to ../unchanged-b | |
1173 | searching for changes |
|
1174 | searching for changes | |
1174 | no changes found |
|
1175 | no changes found |
General Comments 0
You need to be logged in to leave comments.
Login now