test-rebase-mq.out
137 lines
| 2.2 KiB
| text/plain
|
TextLexer
/ tests / test-rebase-mq.out
Stefano Tortarolo
|
r6906 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||
Eric Eisner
|
r11047 | @ 3 P1 tags: f2.patch qtip tip | ||
Stefano Tortarolo
|
r6906 | | | ||
o 2 P0 tags: f.patch qbase | ||||
| | ||||
| o 1 R1 tags: | ||||
|/ | ||||
o 0 C1 tags: qparent | ||||
% Rebase - try to rebase on an applied mq patch | ||||
abort: cannot rebase onto an applied mq patch | ||||
Greg Ward
|
r10672 | % Rebase - same thing, but mq patch is default dest | ||
abort: cannot rebase onto an applied mq patch | ||||
Stefano Tortarolo
|
r6906 | % Rebase - generate a conflict | ||
merging f | ||||
warning: conflicts during merge. | ||||
merging f failed! | ||||
abort: fix unresolved conflicts with hg resolve then run hg rebase --continue | ||||
% Fix the 1st conflict | ||||
warning: conflicts during merge. | ||||
merging f failed! | ||||
abort: fix unresolved conflicts with hg resolve then run hg rebase --continue | ||||
Matt Mackall
|
r11198 | merging f | ||
Stefano Tortarolo
|
r6906 | |||
% Fix the 2nd conflict | ||||
adding branch | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 2 changesets with 2 changes to 1 files | ||||
rebase completed | ||||
Eric Eisner
|
r11047 | @ 3 P1 tags: f2.patch qtip tip | ||
Stefano Tortarolo
|
r6906 | | | ||
o 2 P0 tags: f.patch qbase | ||||
| | ||||
o 1 R1 tags: qparent | ||||
| | ||||
o 0 C1 tags: | ||||
% Update to qbase | ||||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
% f correctly reflects the merge result | ||||
mq1r1 | ||||
% And the patch is correct | ||||
# HG changeset patch | ||||
# User test | ||||
# Date | ||||
# Node ID | ||||
# Parent | ||||
P0 | ||||
diff -r x -r y f | ||||
--- a/f | ||||
+++ b/f | ||||
@@ -1,1 +1,1 @@ | ||||
-r1 | ||||
+mq1r1 | ||||
% Update to qtip | ||||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
% f correctly reflects the merge result | ||||
mq1r1mq2 | ||||
% And the patch is correct | ||||
# HG changeset patch | ||||
# User test | ||||
# Date | ||||
# Node ID | ||||
# Parent | ||||
P1 | ||||
diff -r x -r y f | ||||
--- a/f | ||||
+++ b/f | ||||
@@ -1,1 +1,1 @@ | ||||
-mq1r1 | ||||
+mq1r1mq2 | ||||
Stefano Tortarolo
|
r7955 | |||
% Adding one git-style patch and one normal | ||||
Mads Kiilerich
|
r9110 | popping f2.patch | ||
popping f.patch | ||||
Stefano Tortarolo
|
r7955 | patch queue now empty | ||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
% Git patch | ||||
P0 (git) | ||||
diff --git a/p b/p | ||||
new file mode 100644 | ||||
--- /dev/null | ||||
+++ b/p | ||||
@@ -0,0 +1,1 @@ | ||||
+mq1 | ||||
% Normal patch | ||||
P1 | ||||
diff -r x p | ||||
--- a/p | ||||
+++ b/p | ||||
@@ -1,1 +1,1 @@ | ||||
-mq1 | ||||
+mq2 | ||||
% Rebase the applied mq patches | ||||
% And the patches are correct | ||||
% Git patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date | ||||
# Node ID | ||||
# Parent | ||||
P0 (git) | ||||
diff --git a/p b/p | ||||
new file mode 100644 | ||||
--- /dev/null | ||||
+++ b/p | ||||
@@ -0,0 +1,1 @@ | ||||
+mq1 | ||||
% Normal patch | ||||
# HG changeset patch | ||||
# User test | ||||
# Date | ||||
# Node ID | ||||
# Parent | ||||
P1 | ||||
--- a/p | ||||
+++ b/p | ||||
@@ -1,1 +1,1 @@ | ||||
-mq1 | ||||
+mq2 | ||||