comparison tests/test-clone-uncompressed.t @ 35747:de32acb24949

stream: add a test showing we also clone bookmarks Bookmarks are not stored in `.hg/store`. We need to make sure they are cloned with `--stream`.
author Boris Feld <boris.feld@octobus.net>
date Wed, 17 Jan 2018 16:01:06 +0100
parents eb586ed5d8ce
children 7eedbd5d4880
comparison
equal deleted inserted replaced
35746:e5b6ba786d83 35747:de32acb24949
169 $ echo >> repo/f2 169 $ echo >> repo/f2
170 $ hg -R repo ci -m "1" 170 $ hg -R repo ci -m "1"
171 $ wait 171 $ wait
172 $ hg -R clone id 172 $ hg -R clone id
173 000000000000 173 000000000000
174 $ cd ..
175
176 Stream repository with bookmarks
177 --------------------------------
178
179 (revert introduction of secret changeset)
180
181 $ hg -R server phase --draft 'secret()'
182
183 add a bookmark
184
185 $ hg -R server bookmark -r tip some-bookmark
186
187 clone it
188
189 $ hg clone --stream http://localhost:$HGPORT with-bookmarks
190 streaming all changes
191 1027 files to transfer, 96.3 KB of data
192 transferred 96.3 KB in * seconds (*) (glob)
193 searching for changes
194 no changes found
195 updating to branch default
196 1025 files updated, 0 files merged, 0 files removed, 0 files unresolved
197 $ hg -R with-bookmarks bookmarks
198 some-bookmark 1:c17445101a72