comparison tests/test-bookmarks-pushpull.t @ 28182:e4fe4e903e97

bookmarks: add 'hg push -B .' for pushing the active bookmark (issue4917)
author liscju <piotr.listkiewicz@gmail.com>
date Fri, 19 Feb 2016 22:28:09 +0100
parents db90cb1e89c8
children e01bd7385f4f
comparison
equal deleted inserted replaced
28181:f8efc8a3a991 28182:e4fe4e903e97
100 pushing to ../a 100 pushing to ../a
101 searching for changes 101 searching for changes
102 no changes found 102 no changes found
103 deleting remote bookmark W 103 deleting remote bookmark W
104 [1] 104 [1]
105
106 export the active bookmark
107
108 $ hg bookmark V
109 $ hg push -B . ../a
110 pushing to ../a
111 searching for changes
112 no changes found
113 exporting bookmark V
114 [1]
115
116 delete the bookmark
117
118 $ hg book -d V
119 $ hg push -B V ../a
120 pushing to ../a
121 searching for changes
122 no changes found
123 deleting remote bookmark V
124 [1]
125 $ hg up foobar
126 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
127 (activating bookmark foobar)
105 128
106 push/pull name that doesn't exist 129 push/pull name that doesn't exist
107 130
108 $ hg push -B badname ../a 131 $ hg push -B badname ../a
109 pushing to ../a 132 pushing to ../a