~ubuntu-branches/ubuntu/precise/mercurial/precise-updates

« back to all changes in this revision

Viewing changes to tests/test-rebase-parameters.out

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Danjean, Javi Merino, Vincent Danjean
  • Date: 2010-07-04 09:55:28 UTC
  • mfrom: (1.2.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100704095528-bzag1mhfylss9zth
Tags: 1.6-1
[ Javi Merino ]
* New upstream release (1.6). Many bug fixes and improvements. Among
    them:
  - push: break infinite http recursion bug with Python 2.6.5
       (issue2179 and issue2255) (Closes: #586907)
  - zeroconf: Don't use string exceptions (Closes: #585250)
* Removed patch for_upstream__bashism_in_examples.patch since a fix for
    #581122 is included upstream.
* Updated Standards-Version to 3.9 (no change needed)

[ Vincent Danjean ]
* debian/control:
  + Use Breaks instead of Conflicts
  + Use a fixed version in Replaces
    I put 1.4 but it has been a long time since nothing has been moved
    from mercurial to mercurial-common

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
% These fail
2
2
 
3
3
% Use continue and abort
4
 
hg rebase: cannot use both abort and continue
5
 
hg rebase [-s REV | -b REV] [-d REV] [options]
6
 
hg rebase {-a|-c}
7
 
 
8
 
move changeset (and descendants) to a different branch
9
 
 
10
 
    Rebase uses repeated merging to graft changesets from one part of history
11
 
    (the source) onto another (the destination). This can be useful for
12
 
    linearizing *local* changes relative to a master development tree.
13
 
 
14
 
    You should not rebase changesets that have already been shared with
15
 
    others. Doing so will force everybody else to perform the same rebase or
16
 
    they will end up with duplicated changesets after pulling in your rebased
17
 
    changesets.
18
 
 
19
 
    If you don't specify a destination changeset ("-d/--dest"), rebase uses
20
 
    the tipmost head of the current named branch as the destination. (The
21
 
    destination changeset is not modified by rebasing, but new changesets are
22
 
    added as its descendants.)
23
 
 
24
 
    You can specify which changesets to rebase in two ways: as a "source"
25
 
    changeset or as a "base" changeset. Both are shorthand for a topologically
26
 
    related set of changesets (the "source branch"). If you specify source
27
 
    ("-s/--source"), rebase will rebase that changeset and all of its
28
 
    descendants onto dest. If you specify base ("-b/--base"), rebase will
29
 
    select ancestors of base back to but not including the common ancestor
30
 
    with dest. Thus, "-b" is less precise but more convenient than "-s": you
31
 
    can specify any changeset in the source branch, and rebase will select the
32
 
    whole branch. If you specify neither "-s" nor "-b", rebase uses the parent
33
 
    of the working directory as the base.
34
 
 
35
 
    By default, rebase recreates the changesets in the source branch as
36
 
    descendants of dest and then destroys the originals. Use "--keep" to
37
 
    preserve the original source changesets. Some changesets in the source
38
 
    branch (e.g. merges from the destination branch) may be dropped if they no
39
 
    longer contribute any change.
40
 
 
41
 
    One result of the rules for selecting the destination changeset and source
42
 
    branch is that, unlike "merge", rebase will do nothing if you are at the
43
 
    latest (tipmost) head of a named branch with two heads. You need to
44
 
    explicitly specify source and/or destination (or "update" to the other
45
 
    head, if it's the head of the intended source branch).
46
 
 
47
 
    If a rebase is interrupted to manually resolve a merge, it can be
48
 
    continued with --continue/-c or aborted with --abort/-a.
49
 
 
50
 
options:
51
 
 
52
 
 -s --source        rebase from the specified changeset
53
 
 -b --base          rebase from the base of the specified changeset (up to
54
 
                    greatest common ancestor of base and dest)
55
 
 -d --dest          rebase onto the specified changeset
56
 
    --collapse      collapse the rebased changesets
57
 
    --keep          keep original changesets
58
 
    --keepbranches  keep original branch names
59
 
    --detach        force detaching of source from its original branch
60
 
 -c --continue      continue an interrupted rebase
61
 
 -a --abort         abort an interrupted rebase
62
 
    --style         display using template map file
63
 
    --template      display with template
64
 
 
65
 
use "hg -v help rebase" to show global options
 
4
abort: cannot use both abort and continue
66
5
 
67
6
% Use continue and collapse
68
 
hg rebase: cannot use collapse with continue or abort
69
 
hg rebase [-s REV | -b REV] [-d REV] [options]
70
 
hg rebase {-a|-c}
71
 
 
72
 
move changeset (and descendants) to a different branch
73
 
 
74
 
    Rebase uses repeated merging to graft changesets from one part of history
75
 
    (the source) onto another (the destination). This can be useful for
76
 
    linearizing *local* changes relative to a master development tree.
77
 
 
78
 
    You should not rebase changesets that have already been shared with
79
 
    others. Doing so will force everybody else to perform the same rebase or
80
 
    they will end up with duplicated changesets after pulling in your rebased
81
 
    changesets.
82
 
 
83
 
    If you don't specify a destination changeset ("-d/--dest"), rebase uses
84
 
    the tipmost head of the current named branch as the destination. (The
85
 
    destination changeset is not modified by rebasing, but new changesets are
86
 
    added as its descendants.)
87
 
 
88
 
    You can specify which changesets to rebase in two ways: as a "source"
89
 
    changeset or as a "base" changeset. Both are shorthand for a topologically
90
 
    related set of changesets (the "source branch"). If you specify source
91
 
    ("-s/--source"), rebase will rebase that changeset and all of its
92
 
    descendants onto dest. If you specify base ("-b/--base"), rebase will
93
 
    select ancestors of base back to but not including the common ancestor
94
 
    with dest. Thus, "-b" is less precise but more convenient than "-s": you
95
 
    can specify any changeset in the source branch, and rebase will select the
96
 
    whole branch. If you specify neither "-s" nor "-b", rebase uses the parent
97
 
    of the working directory as the base.
98
 
 
99
 
    By default, rebase recreates the changesets in the source branch as
100
 
    descendants of dest and then destroys the originals. Use "--keep" to
101
 
    preserve the original source changesets. Some changesets in the source
102
 
    branch (e.g. merges from the destination branch) may be dropped if they no
103
 
    longer contribute any change.
104
 
 
105
 
    One result of the rules for selecting the destination changeset and source
106
 
    branch is that, unlike "merge", rebase will do nothing if you are at the
107
 
    latest (tipmost) head of a named branch with two heads. You need to
108
 
    explicitly specify source and/or destination (or "update" to the other
109
 
    head, if it's the head of the intended source branch).
110
 
 
111
 
    If a rebase is interrupted to manually resolve a merge, it can be
112
 
    continued with --continue/-c or aborted with --abort/-a.
113
 
 
114
 
options:
115
 
 
116
 
 -s --source        rebase from the specified changeset
117
 
 -b --base          rebase from the base of the specified changeset (up to
118
 
                    greatest common ancestor of base and dest)
119
 
 -d --dest          rebase onto the specified changeset
120
 
    --collapse      collapse the rebased changesets
121
 
    --keep          keep original changesets
122
 
    --keepbranches  keep original branch names
123
 
    --detach        force detaching of source from its original branch
124
 
 -c --continue      continue an interrupted rebase
125
 
 -a --abort         abort an interrupted rebase
126
 
    --style         display using template map file
127
 
    --template      display with template
128
 
 
129
 
use "hg -v help rebase" to show global options
 
7
abort: cannot use collapse with continue or abort
130
8
 
131
9
% Use continue/abort and dest/source
132
 
hg rebase: abort and continue do not allow specifying revisions
133
 
hg rebase [-s REV | -b REV] [-d REV] [options]
134
 
hg rebase {-a|-c}
135
 
 
136
 
move changeset (and descendants) to a different branch
137
 
 
138
 
    Rebase uses repeated merging to graft changesets from one part of history
139
 
    (the source) onto another (the destination). This can be useful for
140
 
    linearizing *local* changes relative to a master development tree.
141
 
 
142
 
    You should not rebase changesets that have already been shared with
143
 
    others. Doing so will force everybody else to perform the same rebase or
144
 
    they will end up with duplicated changesets after pulling in your rebased
145
 
    changesets.
146
 
 
147
 
    If you don't specify a destination changeset ("-d/--dest"), rebase uses
148
 
    the tipmost head of the current named branch as the destination. (The
149
 
    destination changeset is not modified by rebasing, but new changesets are
150
 
    added as its descendants.)
151
 
 
152
 
    You can specify which changesets to rebase in two ways: as a "source"
153
 
    changeset or as a "base" changeset. Both are shorthand for a topologically
154
 
    related set of changesets (the "source branch"). If you specify source
155
 
    ("-s/--source"), rebase will rebase that changeset and all of its
156
 
    descendants onto dest. If you specify base ("-b/--base"), rebase will
157
 
    select ancestors of base back to but not including the common ancestor
158
 
    with dest. Thus, "-b" is less precise but more convenient than "-s": you
159
 
    can specify any changeset in the source branch, and rebase will select the
160
 
    whole branch. If you specify neither "-s" nor "-b", rebase uses the parent
161
 
    of the working directory as the base.
162
 
 
163
 
    By default, rebase recreates the changesets in the source branch as
164
 
    descendants of dest and then destroys the originals. Use "--keep" to
165
 
    preserve the original source changesets. Some changesets in the source
166
 
    branch (e.g. merges from the destination branch) may be dropped if they no
167
 
    longer contribute any change.
168
 
 
169
 
    One result of the rules for selecting the destination changeset and source
170
 
    branch is that, unlike "merge", rebase will do nothing if you are at the
171
 
    latest (tipmost) head of a named branch with two heads. You need to
172
 
    explicitly specify source and/or destination (or "update" to the other
173
 
    head, if it's the head of the intended source branch).
174
 
 
175
 
    If a rebase is interrupted to manually resolve a merge, it can be
176
 
    continued with --continue/-c or aborted with --abort/-a.
177
 
 
178
 
options:
179
 
 
180
 
 -s --source        rebase from the specified changeset
181
 
 -b --base          rebase from the base of the specified changeset (up to
182
 
                    greatest common ancestor of base and dest)
183
 
 -d --dest          rebase onto the specified changeset
184
 
    --collapse      collapse the rebased changesets
185
 
    --keep          keep original changesets
186
 
    --keepbranches  keep original branch names
187
 
    --detach        force detaching of source from its original branch
188
 
 -c --continue      continue an interrupted rebase
189
 
 -a --abort         abort an interrupted rebase
190
 
    --style         display using template map file
191
 
    --template      display with template
192
 
 
193
 
use "hg -v help rebase" to show global options
 
10
abort: abort and continue do not allow specifying revisions
194
11
 
195
12
% Use source and base
196
 
hg rebase: cannot specify both a revision and a base
197
 
hg rebase [-s REV | -b REV] [-d REV] [options]
198
 
hg rebase {-a|-c}
199
 
 
200
 
move changeset (and descendants) to a different branch
201
 
 
202
 
    Rebase uses repeated merging to graft changesets from one part of history
203
 
    (the source) onto another (the destination). This can be useful for
204
 
    linearizing *local* changes relative to a master development tree.
205
 
 
206
 
    You should not rebase changesets that have already been shared with
207
 
    others. Doing so will force everybody else to perform the same rebase or
208
 
    they will end up with duplicated changesets after pulling in your rebased
209
 
    changesets.
210
 
 
211
 
    If you don't specify a destination changeset ("-d/--dest"), rebase uses
212
 
    the tipmost head of the current named branch as the destination. (The
213
 
    destination changeset is not modified by rebasing, but new changesets are
214
 
    added as its descendants.)
215
 
 
216
 
    You can specify which changesets to rebase in two ways: as a "source"
217
 
    changeset or as a "base" changeset. Both are shorthand for a topologically
218
 
    related set of changesets (the "source branch"). If you specify source
219
 
    ("-s/--source"), rebase will rebase that changeset and all of its
220
 
    descendants onto dest. If you specify base ("-b/--base"), rebase will
221
 
    select ancestors of base back to but not including the common ancestor
222
 
    with dest. Thus, "-b" is less precise but more convenient than "-s": you
223
 
    can specify any changeset in the source branch, and rebase will select the
224
 
    whole branch. If you specify neither "-s" nor "-b", rebase uses the parent
225
 
    of the working directory as the base.
226
 
 
227
 
    By default, rebase recreates the changesets in the source branch as
228
 
    descendants of dest and then destroys the originals. Use "--keep" to
229
 
    preserve the original source changesets. Some changesets in the source
230
 
    branch (e.g. merges from the destination branch) may be dropped if they no
231
 
    longer contribute any change.
232
 
 
233
 
    One result of the rules for selecting the destination changeset and source
234
 
    branch is that, unlike "merge", rebase will do nothing if you are at the
235
 
    latest (tipmost) head of a named branch with two heads. You need to
236
 
    explicitly specify source and/or destination (or "update" to the other
237
 
    head, if it's the head of the intended source branch).
238
 
 
239
 
    If a rebase is interrupted to manually resolve a merge, it can be
240
 
    continued with --continue/-c or aborted with --abort/-a.
241
 
 
242
 
options:
243
 
 
244
 
 -s --source        rebase from the specified changeset
245
 
 -b --base          rebase from the base of the specified changeset (up to
246
 
                    greatest common ancestor of base and dest)
247
 
 -d --dest          rebase onto the specified changeset
248
 
    --collapse      collapse the rebased changesets
249
 
    --keep          keep original changesets
250
 
    --keepbranches  keep original branch names
251
 
    --detach        force detaching of source from its original branch
252
 
 -c --continue      continue an interrupted rebase
253
 
 -a --abort         abort an interrupted rebase
254
 
    --style         display using template map file
255
 
    --template      display with template
256
 
 
257
 
use "hg -v help rebase" to show global options
 
13
abort: cannot specify both a revision and a base
258
14
 
259
15
% Rebase with no arguments - from current
260
16
nothing to rebase
267
23
 
268
24
% Rebase with no arguments (from 3 onto 7)
269
25
3 files updated, 0 files merged, 2 files removed, 0 files unresolved
270
 
saving 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
 
26
saved backup bundle to 
277
27
% Try to rollback after a rebase (fail)
278
28
no rollback information available
279
29
 
280
30
% Rebase with base == '.' => same as no arguments (from 3 onto 7)
281
31
3 files updated, 0 files merged, 3 files removed, 0 files unresolved
282
 
saving 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
 
32
saved backup bundle to 
289
33
 
290
34
% Rebase with dest == default => same as no arguments (from 3 onto 7)
291
35
3 files updated, 0 files merged, 3 files removed, 0 files unresolved
292
 
saving 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
 
36
saved backup bundle to 
299
37
 
300
38
% Specify only source (from 4 onto 7)
301
 
saving 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
 
39
saved backup bundle to 
308
40
 
309
41
% Specify only dest (from 3 onto 6)
310
42
3 files updated, 0 files merged, 3 files removed, 0 files unresolved
311
 
saving 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
 
43
saved backup bundle to 
318
44
 
319
45
% Specify only base (from 3 onto 7)
320
 
saving 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
 
46
saved backup bundle to 
327
47
 
328
48
% Specify source and dest (from 4 onto 6)
329
 
saving 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
 
49
saved backup bundle to 
336
50
 
337
51
% Specify base and dest (from 3 onto 6)
338
 
saving 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
 
52
saved backup bundle to