Show More
@@ -237,6 +237,21 b" Narrowing doesn't resurrect old commits " | |||||
237 | 0: add d0/f |
|
237 | 0: add d0/f | |
238 | $ cd .. |
|
238 | $ cd .. | |
239 |
|
239 | |||
|
240 | Widening doesn't lose bookmarks | |||
|
241 | $ hg clone --narrow ssh://user@dummy/master widen-bookmarks --include d0 -q | |||
|
242 | $ cd widen-bookmarks | |||
|
243 | $ hg bookmark my-bookmark | |||
|
244 | $ hg log -T "{rev}: {desc} {bookmarks}\n" | |||
|
245 | 1: add d10/f my-bookmark | |||
|
246 | 0: add d0/f | |||
|
247 | $ hg tracked --addinclude d3 -q | |||
|
248 | $ hg log -T "{rev}: {desc} {bookmarks}\n" | |||
|
249 | 3: add d10/f my-bookmark | |||
|
250 | 2: add d3/f | |||
|
251 | 1: add d2/f | |||
|
252 | 0: add d0/f | |||
|
253 | $ cd .. | |||
|
254 | ||||
240 | Can remove last include, making repo empty |
|
255 | Can remove last include, making repo empty | |
241 | $ hg clone --narrow ssh://user@dummy/master narrow-empty --include d0 -r 5 |
|
256 | $ hg clone --narrow ssh://user@dummy/master narrow-empty --include d0 -r 5 | |
242 | adding changesets |
|
257 | adding changesets |
General Comments 0
You need to be logged in to leave comments.
Login now