##// END OF EJS Templates
bookmarks: test for exchanging long bookmark names (issue5165)...
Augie Fackler -
r36807:09b58af8 default
parent child Browse files
Show More
@@ -1030,6 +1030,34 b' pushing an unchanged bookmark should res'
1030 no changes found
1030 no changes found
1031 [1]
1031 [1]
1032
1032
1033 Pushing a really long bookmark should work fine (issue5165)
1034 ===============================================
1035
1036 #if b2-binary
1037 >>> open('longname', 'w').write('wat' * 100)
1038 $ hg book `cat longname`
1039 $ hg push -B `cat longname` ../unchanged-b
1040 pushing to ../unchanged-b
1041 searching for changes
1042 no changes found
1043 exporting bookmark (wat){100} (re)
1044 [1]
1045 $ hg -R ../unchanged-b book --delete `cat longname`
1046
1047 Test again but forcing bundle2 exchange to make sure that doesn't regress.
1048
1049 $ hg push -B `cat longname` ../unchanged-b --config devel.legacy.exchange=bundle1
1050 pushing to ../unchanged-b
1051 searching for changes
1052 no changes found
1053 exporting bookmark (wat){100} (re)
1054 [1]
1055 $ hg -R ../unchanged-b book --delete `cat longname`
1056 $ hg book --delete `cat longname`
1057 $ hg co @
1058 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
1059 (activating bookmark @)
1060 #endif
1033
1061
1034 Check hook preventing push (issue4455)
1062 Check hook preventing push (issue4455)
1035 ======================================
1063 ======================================
General Comments 0
You need to be logged in to leave comments. Login now