comparison tests/test-rebase-mq.out @ 6906:808f03f61ebe

Add rebase extension
author Stefano Tortarolo <stefano.tortarolo@gmail.com>
date Mon, 18 Aug 2008 21:16:31 +0200
parents
children c3d4ff03ec72
comparison
equal deleted inserted replaced
6905:248e54a9456e 6906:808f03f61ebe
1 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
2 @ 3 P1 tags: qtip tip f2.patch
3 |
4 o 2 P0 tags: f.patch qbase
5 |
6 | o 1 R1 tags:
7 |/
8 o 0 C1 tags: qparent
9
10
11 % Rebase - try to rebase on an applied mq patch
12 abort: cannot rebase onto an applied mq patch
13
14 % Rebase - generate a conflict
15 merging f
16 warning: conflicts during merge.
17 merging f failed!
18 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
19
20 % Fix the 1st conflict
21 merging f
22 warning: conflicts during merge.
23 merging f failed!
24 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
25
26 % Fix the 2nd conflict
27 saving bundle to
28 adding branch
29 adding changesets
30 adding manifests
31 adding file changes
32 added 2 changesets with 2 changes to 1 files
33 rebase completed
34 @ 3 P1 tags: qtip tip f2.patch
35 |
36 o 2 P0 tags: f.patch qbase
37 |
38 o 1 R1 tags: qparent
39 |
40 o 0 C1 tags:
41
42
43 % Update to qbase
44 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
45 % f correctly reflects the merge result
46 mq1r1
47 % And the patch is correct
48 # HG changeset patch
49 # User test
50 # Date
51 # Node ID
52 # Parent
53 P0
54
55 diff -r x -r y f
56 --- a/f
57 +++ b/f
58 @@ -1,1 +1,1 @@
59 -r1
60 +mq1r1
61
62 % Update to qtip
63 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
64 % f correctly reflects the merge result
65 mq1r1mq2
66 % And the patch is correct
67 # HG changeset patch
68 # User test
69 # Date
70 # Node ID
71 # Parent
72 P1
73
74 diff -r x -r y f
75 --- a/f
76 +++ b/f
77 @@ -1,1 +1,1 @@
78 -mq1r1
79 +mq1r1mq2