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