Show More
@@ -136,10 +136,15 b' def strip(ui, repo, node, backup="all"):' | |||
|
136 | 136 | raise |
|
137 | 137 | |
|
138 | 138 | if saveheads or extranodes: |
|
139 |
ui. |
|
|
139 | ui.note(_("adding branch\n")) | |
|
140 | 140 | f = open(chgrpfile, "rb") |
|
141 | 141 | gen = changegroup.readbundle(f, chgrpfile) |
|
142 | if not repo.ui.verbose: | |
|
143 | # silence internal shuffling chatter | |
|
144 | repo.ui.pushbuffer() | |
|
142 | 145 | repo.addchangegroup(gen, 'strip', 'bundle:' + chgrpfile, True) |
|
146 | if not repo.ui.verbose: | |
|
147 | repo.ui.popbuffer() | |
|
143 | 148 | f.close() |
|
144 | 149 | if backup != "strip": |
|
145 | 150 | os.unlink(chgrpfile) |
@@ -10,11 +10,6 b' adding d' | |||
|
10 | 10 | one 1:925d80f479bb |
|
11 | 11 | % rebase |
|
12 | 12 | saved backup bundle to |
|
13 | adding branch | |
|
14 | adding changesets | |
|
15 | adding manifests | |
|
16 | adding file changes | |
|
17 | added 1 changesets with 1 changes to 1 files (-1 heads) | |
|
18 | 13 | rebase completed |
|
19 | 14 | changeset: 3:9163974d1cb5 |
|
20 | 15 | tag: one |
@@ -13,11 +13,6 b' created new head' | |||
|
13 | 13 | test2 1:16b24da7e457 |
|
14 | 14 | % strip to revision 1 |
|
15 | 15 | saved backup bundle to |
|
16 | adding branch | |
|
17 | adding changesets | |
|
18 | adding manifests | |
|
19 | adding file changes | |
|
20 | added 1 changesets with 1 changes to 1 files | |
|
21 | 16 | % list bookmarks |
|
22 | 17 | * test 1:9f1b7e78eff8 |
|
23 | 18 | * test2 1:9f1b7e78eff8 |
@@ -271,11 +271,6 b' diff -r 000000000000 b' | |||
|
271 | 271 | +a |
|
272 | 272 | % issue2025: qrefresh does not honor filtering options when tip != qtip |
|
273 | 273 | % refresh with tip != qtip |
|
274 | adding branch | |
|
275 | adding changesets | |
|
276 | adding manifests | |
|
277 | adding file changes | |
|
278 | added 1 changesets with 1 changes to 1 files | |
|
279 | 274 | % status after refresh |
|
280 | 275 | M a |
|
281 | 276 | % b after refresh |
@@ -85,11 +85,6 b' date: Thu Jan 01 00:00:00 1970 +0' | |||
|
85 | 85 | summary: e |
|
86 | 86 | |
|
87 | 87 | saved backup bundle to |
|
88 | adding branch | |
|
89 | adding changesets | |
|
90 | adding manifests | |
|
91 | adding file changes | |
|
92 | added 2 changesets with 2 changes to 1 files | |
|
93 | 88 | % after update 4, strip 2 |
|
94 | 89 | changeset: 3:443431ffac4f |
|
95 | 90 | tag: tip |
@@ -427,11 +427,6 b' copy to copy' | |||
|
427 | 427 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
428 | 428 | created new head |
|
429 | 429 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
430 | adding branch | |
|
431 | adding changesets | |
|
432 | adding manifests | |
|
433 | adding file changes | |
|
434 | added 1 changesets with 1 changes to 1 files | |
|
435 | 430 | diff --git a/bar b/bar |
|
436 | 431 | new file mode 100644 |
|
437 | 432 | --- /dev/null |
@@ -457,11 +452,6 b' diff --git a/foo b/baz' | |||
|
457 | 452 | % test file move chains in the slow path |
|
458 | 453 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
459 | 454 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
460 | adding branch | |
|
461 | adding changesets | |
|
462 | adding manifests | |
|
463 | adding file changes | |
|
464 | added 1 changesets with 1 changes to 1 files | |
|
465 | 455 | diff --git a/foo b/bleh |
|
466 | 456 | rename from foo |
|
467 | 457 | rename to bleh |
@@ -530,11 +520,6 b' summary: add foo' | |||
|
530 | 520 | |
|
531 | 521 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
532 | 522 | saved backup bundle to |
|
533 | adding branch | |
|
534 | adding changesets | |
|
535 | adding manifests | |
|
536 | adding file changes | |
|
537 | added 1 changesets with 1 changes to 1 files | |
|
538 | 523 | changeset: 1:20cbbe65cff7 |
|
539 | 524 | tag: tip |
|
540 | 525 | user: test |
@@ -33,11 +33,6 b' 0:1994f17a630e A branch:' | |||
|
33 | 33 | |
|
34 | 34 | % Rebase part of branch2 (5-6) onto branch3 (8) |
|
35 | 35 | saved backup bundle to |
|
36 | adding branch | |
|
37 | adding changesets | |
|
38 | adding manifests | |
|
39 | adding file changes | |
|
40 | added 4 changesets with 3 changes to 3 files (+1 heads) | |
|
41 | 36 | rebase completed |
|
42 | 37 | |
|
43 | 38 | % Branches |
@@ -91,11 +86,6 b' o 7:33c9da881988 Branch3 branch: branch' | |||
|
91 | 86 | o 0:1994f17a630e A branch: |
|
92 | 87 | |
|
93 | 88 | saved backup bundle to |
|
94 | adding branch | |
|
95 | adding changesets | |
|
96 | adding manifests | |
|
97 | adding file changes | |
|
98 | added 1 changesets with 1 changes to 1 files | |
|
99 | 89 | rebase completed |
|
100 | 90 | |
|
101 | 91 | % Branches |
@@ -150,11 +140,6 b' o 7:33c9da881988 Branch3 branch: branch' | |||
|
150 | 140 | o 0:1994f17a630e A branch: |
|
151 | 141 | |
|
152 | 142 | saved backup bundle to |
|
153 | adding branch | |
|
154 | adding changesets | |
|
155 | adding manifests | |
|
156 | adding file changes | |
|
157 | added 1 changesets with 1 changes to 1 files | |
|
158 | 143 | rebase completed |
|
159 | 144 | |
|
160 | 145 | % Branches |
@@ -56,11 +56,6 b' merging A' | |||
|
56 | 56 | |
|
57 | 57 | % - Solve the conflict and go on |
|
58 | 58 | saved backup bundle to |
|
59 | adding branch | |
|
60 | adding changesets | |
|
61 | adding manifests | |
|
62 | adding file changes | |
|
63 | added 1 changesets with 1 changes to 1 files | |
|
64 | 59 | rebase completed |
|
65 | 60 | @ 5:F:notdefault |
|
66 | 61 | | |
@@ -17,11 +17,6 b' o 0: A' | |||
|
17 | 17 | % Rebasing B onto H |
|
18 | 18 | 3 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
19 | 19 | saved backup bundle to |
|
20 | adding branch | |
|
21 | adding changesets | |
|
22 | adding manifests | |
|
23 | adding file changes | |
|
24 | added 5 changesets with 6 changes to 6 files (+1 heads) | |
|
25 | 20 | rebase completed |
|
26 | 21 | @ 5: Collapsed revision |
|
27 | 22 | | * B |
@@ -47,11 +42,6 b' H' | |||
|
47 | 42 | |
|
48 | 43 | % Rebasing G onto H |
|
49 | 44 | saved backup bundle to |
|
50 | adding branch | |
|
51 | adding changesets | |
|
52 | adding manifests | |
|
53 | adding file changes | |
|
54 | added 3 changesets with 3 changes to 3 files (+1 heads) | |
|
55 | 45 | rebase completed |
|
56 | 46 | @ 6: Collapsed revision |
|
57 | 47 | | * E |
@@ -96,11 +86,6 b' abort: unable to collapse, there is more' | |||
|
96 | 86 | |
|
97 | 87 | % Rebase and collapse - E onto H |
|
98 | 88 | saved backup bundle to |
|
99 | adding branch | |
|
100 | adding changesets | |
|
101 | adding manifests | |
|
102 | adding file changes | |
|
103 | added 2 changesets with 3 changes to 3 files | |
|
104 | 89 | rebase completed |
|
105 | 90 | @ 5: Collapsed revision |
|
106 | 91 | |\ * E |
@@ -146,11 +131,6 b' o 0: A' | |||
|
146 | 131 | % Rebase and collapse - E onto I |
|
147 | 132 | merging E |
|
148 | 133 | saved backup bundle to |
|
149 | adding branch | |
|
150 | adding changesets | |
|
151 | adding manifests | |
|
152 | adding file changes | |
|
153 | added 2 changesets with 3 changes to 3 files | |
|
154 | 134 | rebase completed |
|
155 | 135 | @ 5: Collapsed revision |
|
156 | 136 | |\ * E |
@@ -192,11 +172,6 b' o 0: A' | |||
|
192 | 172 | |
|
193 | 173 | % Rebase and collapse - B onto F |
|
194 | 174 | saved backup bundle to |
|
195 | adding branch | |
|
196 | adding changesets | |
|
197 | adding manifests | |
|
198 | adding file changes | |
|
199 | added 2 changesets with 4 changes to 4 files | |
|
200 | 175 | rebase completed |
|
201 | 176 | @ 2: Collapsed revision |
|
202 | 177 | | * B |
@@ -27,11 +27,6 b' abort: unresolved merge conflicts (see h' | |||
|
27 | 27 | |
|
28 | 28 | % Conclude rebase |
|
29 | 29 | saved backup bundle to |
|
30 | adding branch | |
|
31 | adding changesets | |
|
32 | adding manifests | |
|
33 | adding file changes | |
|
34 | added 3 changesets with 3 changes to 3 files | |
|
35 | 30 | rebase completed |
|
36 | 31 | @ 5: L3 |
|
37 | 32 | | |
@@ -10,11 +10,6 b' o 0: A' | |||
|
10 | 10 | |
|
11 | 11 | % Rebasing D onto E detaching from C |
|
12 | 12 | saved backup bundle to |
|
13 | adding branch | |
|
14 | adding changesets | |
|
15 | adding manifests | |
|
16 | adding file changes | |
|
17 | added 2 changesets with 2 changes to 2 files (+1 heads) | |
|
18 | 13 | rebase completed |
|
19 | 14 | @ 4: D |
|
20 | 15 | | |
@@ -43,11 +38,6 b' o 0: A' | |||
|
43 | 38 | |
|
44 | 39 | % Rebasing C onto E detaching from B |
|
45 | 40 | saved backup bundle to |
|
46 | adding branch | |
|
47 | adding changesets | |
|
48 | adding manifests | |
|
49 | adding file changes | |
|
50 | added 3 changesets with 3 changes to 3 files (+1 heads) | |
|
51 | 41 | rebase completed |
|
52 | 42 | @ 4: D |
|
53 | 43 | | |
@@ -77,11 +67,6 b' o 0: A' | |||
|
77 | 67 | |
|
78 | 68 | % Rebasing B onto E using detach (same as not using it) |
|
79 | 69 | saved backup bundle to |
|
80 | adding branch | |
|
81 | adding changesets | |
|
82 | adding manifests | |
|
83 | adding file changes | |
|
84 | added 4 changesets with 4 changes to 4 files | |
|
85 | 70 | rebase completed |
|
86 | 71 | @ 4: D |
|
87 | 72 | | |
@@ -112,11 +97,6 b' o 0: A' | |||
|
112 | 97 | |
|
113 | 98 | % Rebasing C onto E detaching from B and collapsing |
|
114 | 99 | saved backup bundle to |
|
115 | adding branch | |
|
116 | adding changesets | |
|
117 | adding manifests | |
|
118 | adding file changes | |
|
119 | added 2 changesets with 3 changes to 3 files (+1 heads) | |
|
120 | 100 | rebase completed |
|
121 | 101 | @ 3: Collapsed revision |
|
122 | 102 | | * C |
@@ -14,11 +14,6 b' o 0:c1' | |||
|
14 | 14 | % Rebase with no arguments - single revision in source branch |
|
15 | 15 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
16 | 16 | saved backup bundle to |
|
17 | adding branch | |
|
18 | adding changesets | |
|
19 | adding manifests | |
|
20 | adding file changes | |
|
21 | added 3 changesets with 3 changes to 3 files | |
|
22 | 17 | rebase completed |
|
23 | 18 | @ 4:l1 |
|
24 | 19 | | |
@@ -46,11 +41,6 b' o 0:c1' | |||
|
46 | 41 | % Rebase with no arguments - single revision in target branch |
|
47 | 42 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
48 | 43 | saved backup bundle to |
|
49 | adding branch | |
|
50 | adding changesets | |
|
51 | adding manifests | |
|
52 | adding file changes | |
|
53 | added 3 changesets with 3 changes to 3 files | |
|
54 | 44 | rebase completed |
|
55 | 45 | @ 4:l2 |
|
56 | 46 | | |
@@ -7,11 +7,6 b' applying p1.patch' | |||
|
7 | 7 | % Rebase |
|
8 | 8 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
9 | 9 | saved backup bundle to |
|
10 | adding branch | |
|
11 | adding changesets | |
|
12 | adding manifests | |
|
13 | adding file changes | |
|
14 | added 2 changesets with 2 changes to 2 files | |
|
15 | 10 | rebase completed |
|
16 | 11 | @ 3 P0 tags: p0.patch qbase qtip tip |
|
17 | 12 | | |
@@ -28,11 +28,6 b' merging f' | |||
|
28 | 28 | |
|
29 | 29 | % Fix the 2nd conflict |
|
30 | 30 | saved backup bundle to |
|
31 | adding branch | |
|
32 | adding changesets | |
|
33 | adding manifests | |
|
34 | adding file changes | |
|
35 | added 2 changesets with 2 changes to 1 files | |
|
36 | 31 | rebase completed |
|
37 | 32 | @ 3 P1 tags: f2.patch qtip tip |
|
38 | 33 | | |
@@ -268,11 +268,6 b' nothing to rebase' | |||
|
268 | 268 | % Rebase with no arguments (from 3 onto 7) |
|
269 | 269 | 3 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
270 | 270 | saved backup bundle to |
|
271 | adding branch | |
|
272 | adding changesets | |
|
273 | adding manifests | |
|
274 | adding file changes | |
|
275 | added 5 changesets with 5 changes to 5 files | |
|
276 | 271 | rebase completed |
|
277 | 272 | % Try to rollback after a rebase (fail) |
|
278 | 273 | no rollback information available |
@@ -280,65 +275,30 b' no rollback information available' | |||
|
280 | 275 | % Rebase with base == '.' => same as no arguments (from 3 onto 7) |
|
281 | 276 | 3 files updated, 0 files merged, 3 files removed, 0 files unresolved |
|
282 | 277 | saved backup bundle to |
|
283 | adding branch | |
|
284 | adding changesets | |
|
285 | adding manifests | |
|
286 | adding file changes | |
|
287 | added 5 changesets with 5 changes to 5 files | |
|
288 | 278 | rebase completed |
|
289 | 279 | |
|
290 | 280 | % Rebase with dest == default => same as no arguments (from 3 onto 7) |
|
291 | 281 | 3 files updated, 0 files merged, 3 files removed, 0 files unresolved |
|
292 | 282 | saved backup bundle to |
|
293 | adding branch | |
|
294 | adding changesets | |
|
295 | adding manifests | |
|
296 | adding file changes | |
|
297 | added 5 changesets with 5 changes to 5 files | |
|
298 | 283 | rebase completed |
|
299 | 284 | |
|
300 | 285 | % Specify only source (from 4 onto 7) |
|
301 | 286 | saved backup bundle to |
|
302 | adding branch | |
|
303 | adding changesets | |
|
304 | adding manifests | |
|
305 | adding file changes | |
|
306 | added 4 changesets with 4 changes to 4 files (-1 heads) | |
|
307 | 287 | rebase completed |
|
308 | 288 | |
|
309 | 289 | % Specify only dest (from 3 onto 6) |
|
310 | 290 | 3 files updated, 0 files merged, 3 files removed, 0 files unresolved |
|
311 | 291 | saved backup bundle to |
|
312 | adding branch | |
|
313 | adding changesets | |
|
314 | adding manifests | |
|
315 | adding file changes | |
|
316 | added 5 changesets with 5 changes to 5 files (+1 heads) | |
|
317 | 292 | rebase completed |
|
318 | 293 | |
|
319 | 294 | % Specify only base (from 3 onto 7) |
|
320 | 295 | saved backup bundle to |
|
321 | adding branch | |
|
322 | adding changesets | |
|
323 | adding manifests | |
|
324 | adding file changes | |
|
325 | added 5 changesets with 5 changes to 5 files | |
|
326 | 296 | rebase completed |
|
327 | 297 | |
|
328 | 298 | % Specify source and dest (from 4 onto 6) |
|
329 | 299 | saved backup bundle to |
|
330 | adding branch | |
|
331 | adding changesets | |
|
332 | adding manifests | |
|
333 | adding file changes | |
|
334 | added 4 changesets with 4 changes to 4 files | |
|
335 | 300 | rebase completed |
|
336 | 301 | |
|
337 | 302 | % Specify base and dest (from 3 onto 6) |
|
338 | 303 | saved backup bundle to |
|
339 | adding branch | |
|
340 | adding changesets | |
|
341 | adding manifests | |
|
342 | adding file changes | |
|
343 | added 5 changesets with 5 changes to 5 files (+1 heads) | |
|
344 | 304 | rebase completed |
@@ -11,11 +11,6 b' adding manifests' | |||
|
11 | 11 | adding file changes |
|
12 | 12 | added 1 changesets with 1 changes to 1 files (+1 heads) |
|
13 | 13 | saved backup bundle to |
|
14 | adding branch | |
|
15 | adding changesets | |
|
16 | adding manifests | |
|
17 | adding file changes | |
|
18 | added 2 changesets with 2 changes to 2 files | |
|
19 | 14 | rebase completed |
|
20 | 15 | @ 3:L1 |
|
21 | 16 | | |
@@ -13,11 +13,6 b' o 0: A' | |||
|
13 | 13 | % Rebasing |
|
14 | 14 | % B onto F - simple rebase |
|
15 | 15 | saved backup bundle to |
|
16 | adding branch | |
|
17 | adding changesets | |
|
18 | adding manifests | |
|
19 | adding file changes | |
|
20 | added 5 changesets with 4 changes to 4 files (+1 heads) | |
|
21 | 16 | rebase completed |
|
22 | 17 | @ 5: B |
|
23 | 18 | | |
@@ -33,11 +28,6 b' o 0: A' | |||
|
33 | 28 | |
|
34 | 29 | % B onto D - intermediate point |
|
35 | 30 | saved backup bundle to |
|
36 | adding branch | |
|
37 | adding changesets | |
|
38 | adding manifests | |
|
39 | adding file changes | |
|
40 | added 5 changesets with 4 changes to 4 files (+2 heads) | |
|
41 | 31 | rebase completed |
|
42 | 32 | @ 5: B |
|
43 | 33 | | |
@@ -53,11 +43,6 b' o 0: A' | |||
|
53 | 43 | |
|
54 | 44 | % C onto F - skip of E |
|
55 | 45 | saved backup bundle to |
|
56 | adding branch | |
|
57 | adding changesets | |
|
58 | adding manifests | |
|
59 | adding file changes | |
|
60 | added 3 changesets with 3 changes to 3 files (+1 heads) | |
|
61 | 46 | rebase completed |
|
62 | 47 | @ 4: C |
|
63 | 48 | | |
@@ -71,11 +56,6 b' o 0: A' | |||
|
71 | 56 | |
|
72 | 57 | % D onto C - rebase of a branching point (skip E) |
|
73 | 58 | saved backup bundle to |
|
74 | adding branch | |
|
75 | adding changesets | |
|
76 | adding manifests | |
|
77 | adding file changes | |
|
78 | added 2 changesets with 2 changes to 2 files | |
|
79 | 59 | rebase completed |
|
80 | 60 | @ 4: F |
|
81 | 61 | | |
@@ -89,11 +69,6 b' o 0: A' | |||
|
89 | 69 | |
|
90 | 70 | % E onto F - merged revision having a parent in ancestors of target |
|
91 | 71 | saved backup bundle to |
|
92 | adding branch | |
|
93 | adding changesets | |
|
94 | adding manifests | |
|
95 | adding file changes | |
|
96 | added 2 changesets with 1 changes to 1 files (-1 heads) | |
|
97 | 72 | rebase completed |
|
98 | 73 | @ 5: E |
|
99 | 74 | |\ |
@@ -109,11 +84,6 b' o 0: A' | |||
|
109 | 84 | |
|
110 | 85 | % D onto B - E maintains C as parent |
|
111 | 86 | saved backup bundle to |
|
112 | adding branch | |
|
113 | adding changesets | |
|
114 | adding manifests | |
|
115 | adding file changes | |
|
116 | added 3 changesets with 2 changes to 2 files | |
|
117 | 87 | rebase completed |
|
118 | 88 | @ 5: F |
|
119 | 89 | | |
@@ -49,11 +49,6 b' crossed/.hg/store/data/manifest-file.i' | |||
|
49 | 49 | |
|
50 | 50 | % Trying to strip revision 0 |
|
51 | 51 | saved backup bundle to |
|
52 | adding branch | |
|
53 | adding changesets | |
|
54 | adding manifests | |
|
55 | adding file changes | |
|
56 | added 4 changesets with 15 changes to 7 files (+3 heads) | |
|
57 | 52 | % Verifying |
|
58 | 53 | checking changesets |
|
59 | 54 | checking manifests |
@@ -63,11 +58,6 b' 7 files, 4 changesets, 15 total revision' | |||
|
63 | 58 | |
|
64 | 59 | % Trying to strip revision 1 |
|
65 | 60 | saved backup bundle to |
|
66 | adding branch | |
|
67 | adding changesets | |
|
68 | adding manifests | |
|
69 | adding file changes | |
|
70 | added 3 changesets with 12 changes to 7 files (+3 heads) | |
|
71 | 61 | % Verifying |
|
72 | 62 | checking changesets |
|
73 | 63 | checking manifests |
@@ -77,11 +67,6 b' 7 files, 4 changesets, 14 total revision' | |||
|
77 | 67 | |
|
78 | 68 | % Trying to strip revision 2 |
|
79 | 69 | saved backup bundle to |
|
80 | adding branch | |
|
81 | adding changesets | |
|
82 | adding manifests | |
|
83 | adding file changes | |
|
84 | added 2 changesets with 8 changes to 6 files (+2 heads) | |
|
85 | 70 | % Verifying |
|
86 | 71 | checking changesets |
|
87 | 72 | checking manifests |
@@ -91,11 +76,6 b' 7 files, 4 changesets, 14 total revision' | |||
|
91 | 76 | |
|
92 | 77 | % Trying to strip revision 3 |
|
93 | 78 | saved backup bundle to |
|
94 | adding branch | |
|
95 | adding changesets | |
|
96 | adding manifests | |
|
97 | adding file changes | |
|
98 | added 1 changesets with 1 changes to 2 files (+1 heads) | |
|
99 | 79 | % Verifying |
|
100 | 80 | checking changesets |
|
101 | 81 | checking manifests |
General Comments 0
You need to be logged in to leave comments.
Login now