test-mq.out
653 lines
| 14.7 KiB
| text/plain
|
TextLexer
/ tests / test-mq.out
Vadim Gelfer
|
r2729 | % help | ||
Dirkjan Ochtman
|
r8932 | mq extension - manage a stack of patches | ||
Vadim Gelfer
|
r2729 | |||
This extension lets you work with a stack of patches in a Mercurial | ||||
Martin Geisler
|
r9067 | repository. It manages two stacks of patches - all known patches, and applied | ||
patches (subset of known patches). | ||||
Vadim Gelfer
|
r2729 | |||
Martin Geisler
|
r9067 | Known patches are represented as patch files in the .hg/patches directory. | ||
Applied patches are both patch files and changesets. | ||||
Vadim Gelfer
|
r2729 | |||
Common tasks (use "hg help command" for more details): | ||||
Martin Geisler
|
r9291 | create new patch qnew | ||
import existing patch qimport | ||||
Vadim Gelfer
|
r2729 | |||
Martin Geisler
|
r9291 | print patch series qseries | ||
print applied patches qapplied | ||||
Vadim Gelfer
|
r2729 | |||
Martin Geisler
|
r9291 | add known patch to applied stack qpush | ||
remove patch from applied stack qpop | ||||
refresh contents of top applied patch qrefresh | ||||
Vadim Gelfer
|
r2729 | |||
Patrick Mezard
|
r10190 | By default, mq will automatically use git patches when required to avoid | ||
losing file mode changes, copy records, binary files or empty files creations | ||||
or deletions. This behaviour can be configured with: | ||||
[mq] | ||||
git = auto/keep/yes/no | ||||
If set to 'keep', mq will obey the [diff] section configuration while | ||||
preserving existing git patches upon qrefresh. If set to 'yes' or 'no', mq | ||||
will override the [diff] section and always generate git or regular patches, | ||||
possibly losing data in the second case. | ||||
Martin Geisler
|
r11234 | You will by default be managing a patch queue named "patches". You can create | ||
other, independent patch queues with the "hg qqueue" command. | ||||
Alexis S. L. Carvalho
|
r4315 | list of commands: | ||
Vadim Gelfer
|
r2729 | |||
qapplied print the patches already applied | ||||
qclone clone main and patch repository at same time | ||||
Thomas Arendsen Hein
|
r2910 | qdelete remove patches from queue | ||
Patrick Mezard
|
r6608 | qdiff diff of the current patch and subsequent modifications | ||
Dirkjan Ochtman
|
r6645 | qfinish move applied patches into repository history | ||
Brendan Cully
|
r2748 | qfold fold the named patches into the current patch | ||
Bryan O'Sullivan
|
r4432 | qgoto push or pop patches until named patch is at top of stack | ||
Vadim Gelfer
|
r2821 | qguard set or print guards for a patch | ||
Martin Geisler
|
r7598 | qheader print the header of the topmost or specified patch | ||
Vadim Gelfer
|
r2729 | qimport import a patch | ||
qnew create a new patch | ||||
Matt Mackall
|
r9439 | qnext print the name of the next patch | ||
Vadim Gelfer
|
r2729 | qpop pop the current patch off the stack | ||
Matt Mackall
|
r9439 | qprev print the name of the previous patch | ||
Vadim Gelfer
|
r2729 | qpush push the next patch onto the stack | ||
Henrik Stuart
|
r11229 | qqueue manage multiple patch queues | ||
Vadim Gelfer
|
r2729 | qrefresh update the current patch | ||
Brendan Cully
|
r2750 | qrename rename a patch | ||
Vadim Gelfer
|
r2821 | qselect set or print guarded patches to push | ||
Vadim Gelfer
|
r2729 | qseries print the entire series file | ||
Matt Mackall
|
r9439 | qtop print the name of the current patch | ||
Vadim Gelfer
|
r2729 | qunapplied print the patches not yet applied | ||
Nicolas Dumazet
|
r11789 | strip strip changesets and all their descendants from the repository | ||
Alexis S. L. Carvalho
|
r4315 | |||
use "hg -v help mq" to show aliases and global options | ||||
Vadim Gelfer
|
r2729 | adding a | ||
Adrian Buehlmann
|
r9611 | updating to branch default | ||
Vadim Gelfer
|
r2848 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||
Vadim Gelfer
|
r2729 | adding b/z | ||
% qinit | ||||
% -R qinit | ||||
% qinit -c | ||||
A .hgignore | ||||
A series | ||||
Alexis S. L. Carvalho
|
r4071 | % qinit; qinit -c | ||
.hgignore: | ||||
Alexis S. L. Carvalho
|
r6034 | ^\.hg | ||
^\.mq | ||||
Alexis S. L. Carvalho
|
r4071 | syntax: glob | ||
status | ||||
guards | ||||
series: | ||||
abort: repository already exists! | ||||
% qinit; <stuff>; qinit -c | ||||
Alexis S. L. Carvalho
|
r4232 | adding .hg/patches/A | ||
adding .hg/patches/B | ||||
Alexis S. L. Carvalho
|
r4071 | A .hgignore | ||
A A | ||||
A B | ||||
A series | ||||
.hgignore: | ||||
status | ||||
bleh | ||||
series: | ||||
A | ||||
B | ||||
Brodie Rao
|
r11555 | % status --mq with color (issue2096) | ||
[0;32;1mA .hgignore[0m | ||||
[0;32;1mA A[0m | ||||
[0;32;1mA B[0m | ||||
[0;32;1mA series[0m | ||||
Cédric Duval
|
r10691 | % init --mq without repo | ||
abort: There is no Mercurial repository here (.hg not found) | ||||
Cédric Duval
|
r10710 | % init --mq with repo path | ||
ok | ||||
Cédric Duval
|
r10691 | % init --mq with nonexistent directory | ||
abort: repository nonexistentdir not found! | ||||
% init --mq with bundle (non "local") | ||||
abort: only a local queue repository may be initialized | ||||
Vadim Gelfer
|
r2729 | % qrefresh | ||
foo bar | ||||
diff -r xa | ||||
--- a/a | ||||
+++ b/a | ||||
Matt Mackall
|
r5863 | @@ -1,1 +1,2 @@ | ||
Vadim Gelfer
|
r2729 | a | ||
+a | ||||
Alexis S. L. Carvalho
|
r4173 | % empty qrefresh | ||
revision: | ||||
patch: | ||||
foo bar | ||||
working dir diff: | ||||
--- a/a | ||||
+++ b/a | ||||
Matt Mackall
|
r5863 | @@ -1,1 +1,2 @@ | ||
Alexis S. L. Carvalho
|
r4173 | a | ||
+a | ||||
Vadim Gelfer
|
r2729 | % qpop | ||
Mads Kiilerich
|
r9110 | popping test.patch | ||
Martin Geisler
|
r7627 | patch queue now empty | ||
Greg Ward
|
r9151 | % qpush with dump of tag cache | ||
.hg/tags.cache (pre qpush): | ||||
1 | ||||
Greg Ward
|
r9152 | |||
Vadim Gelfer
|
r2729 | applying test.patch | ||
Martin Geisler
|
r7627 | now at: test.patch | ||
Greg Ward
|
r9151 | .hg/tags.cache (post qpush): | ||
2 | ||||
Greg Ward
|
r9152 | |||
Vadim Gelfer
|
r2729 | % pop/push outside repo | ||
Mads Kiilerich
|
r9110 | popping test.patch | ||
Martin Geisler
|
r7627 | patch queue now empty | ||
Vadim Gelfer
|
r2729 | applying test.patch | ||
Martin Geisler
|
r7627 | now at: test.patch | ||
Vadim Gelfer
|
r2729 | % qrefresh in subdir | ||
% pop/push -a in subdir | ||||
Mads Kiilerich
|
r9110 | popping test2.patch | ||
popping test.patch | ||||
Martin Geisler
|
r7627 | patch queue now empty | ||
Vadim Gelfer
|
r2729 | applying test.patch | ||
applying test2.patch | ||||
Martin Geisler
|
r7627 | now at: test2.patch | ||
Vadim Gelfer
|
r2729 | % qseries | ||
test.patch | ||||
test2.patch | ||||
Dan Villiom Podlaski Christiansen
|
r9874 | 0 A test.patch: f... | ||
1 A test2.patch: | ||||
Mads Kiilerich
|
r9110 | popping test2.patch | ||
Martin Geisler
|
r7627 | now at: test.patch | ||
Alexis S. L. Carvalho
|
r3681 | 0 A test.patch: foo bar | ||
1 U test2.patch: | ||||
Matt Mackall
|
r11107 | mq: 1 applied, 1 unapplied | ||
Alexis S. L. Carvalho
|
r3681 | applying test2.patch | ||
Martin Geisler
|
r7627 | now at: test2.patch | ||
Matt Mackall
|
r11107 | mq: 2 applied | ||
Vadim Gelfer
|
r2729 | % qapplied | ||
test.patch | ||||
test2.patch | ||||
Matt Mackall
|
r9439 | % qtop | ||
test2.patch | ||||
Dirkjan Ochtman
|
r9364 | % prev | ||
Vadim Gelfer
|
r2729 | test.patch | ||
Dirkjan Ochtman
|
r9364 | % next | ||
Martin Geisler
|
r7627 | all patches applied | ||
Mads Kiilerich
|
r9110 | popping test2.patch | ||
Martin Geisler
|
r7627 | now at: test.patch | ||
Vadim Gelfer
|
r2846 | % commit should fail | ||
abort: cannot commit over an applied mq patch | ||||
Vadim Gelfer
|
r2848 | % push should fail | ||
pushing to ../../k | ||||
abort: source has mq patches applied | ||||
Brendan Cully
|
r7142 | % import should fail | ||
abort: cannot import over an applied patch | ||||
Brendan Cully
|
r9867 | % import --no-commit should succeed | ||
applying ../../import.diff | ||||
M a | ||||
Vadim Gelfer
|
r2729 | % qunapplied | ||
test2.patch | ||||
Thomas Arendsen Hein
|
r3081 | % qpush/qpop with index | ||
applying test2.patch | ||||
Martin Geisler
|
r7627 | now at: test2.patch | ||
Mads Kiilerich
|
r9110 | popping test2.patch | ||
popping test1b.patch | ||||
Martin Geisler
|
r7627 | now at: test.patch | ||
Thomas Arendsen Hein
|
r3081 | applying test1b.patch | ||
Martin Geisler
|
r7627 | now at: test1b.patch | ||
Thomas Arendsen Hein
|
r3081 | applying test2.patch | ||
Martin Geisler
|
r7627 | now at: test2.patch | ||
Mads Kiilerich
|
r9110 | popping test2.patch | ||
Martin Geisler
|
r7627 | now at: test1b.patch | ||
Mads Kiilerich
|
r9110 | popping test1b.patch | ||
Martin Geisler
|
r7627 | now at: test.patch | ||
Thomas Arendsen Hein
|
r3081 | applying test1b.patch | ||
applying test2.patch | ||||
Martin Geisler
|
r7627 | now at: test2.patch | ||
Mads Kiilerich
|
r11064 | % qpush --move | ||
popping test2.patch | ||||
popping test1b.patch | ||||
popping test.patch | ||||
patch queue now empty | ||||
Gilles Moris
|
r11715 | cannot push 'test2.patch' - guarded by ['+posguard'] | ||
number of unguarded, unapplied patches has changed from 2 to 3 | ||||
Mads Kiilerich
|
r11064 | applying test2.patch | ||
now at: test2.patch | ||||
applying test1b.patch | ||||
now at: test1b.patch | ||||
applying test.patch | ||||
now at: test.patch | ||||
0 A test2.patch | ||||
1 A test1b.patch | ||||
2 A test.patch | ||||
popping test.patch | ||||
popping test1b.patch | ||||
popping test2.patch | ||||
patch queue now empty | ||||
Gilles Moris
|
r11715 | guards deactivated | ||
number of unguarded, unapplied patches has changed from 3 to 2 | ||||
Mads Kiilerich
|
r11064 | applying test.patch | ||
now at: test.patch | ||||
applying test1b.patch | ||||
now at: test1b.patch | ||||
abort: patch bogus not in series | ||||
Gilles Moris
|
r11715 | abort: please specify the patch to move | ||
Mads Kiilerich
|
r11064 | abort: cannot push to a previous patch: test.patch | ||
applying test2.patch | ||||
now at: test2.patch | ||||
Gilles Moris
|
r11715 | % series after move | ||
test.patch | ||||
test1b.patch | ||||
test2.patch | ||||
# comment | ||||
Dirkjan Ochtman
|
r9364 | % pop, qapplied, qunapplied | ||
0 A test.patch | ||||
1 A test1b.patch | ||||
2 A test2.patch | ||||
% qapplied -1 test.patch | ||||
only one patch applied | ||||
% qapplied -1 test1b.patch | ||||
test.patch | ||||
% qapplied -1 test2.patch | ||||
test1b.patch | ||||
% qapplied -1 | ||||
test1b.patch | ||||
% qapplied | ||||
test.patch | ||||
test1b.patch | ||||
test2.patch | ||||
% qapplied test1b.patch | ||||
test.patch | ||||
test1b.patch | ||||
% qunapplied -1 | ||||
all patches applied | ||||
% qunapplied | ||||
% popping | ||||
Mads Kiilerich
|
r9110 | popping test2.patch | ||
Dirkjan Ochtman
|
r9364 | now at: test1b.patch | ||
% qunapplied -1 | ||||
test2.patch | ||||
% qunapplied | ||||
test2.patch | ||||
% qunapplied test2.patch | ||||
% qunapplied -1 test2.patch | ||||
all patches applied | ||||
% popping -a | ||||
Mads Kiilerich
|
r9110 | popping test1b.patch | ||
popping test.patch | ||||
Martin Geisler
|
r7627 | patch queue now empty | ||
Dirkjan Ochtman
|
r9364 | % qapplied | ||
% qapplied -1 | ||||
no patches applied | ||||
applying test.patch | ||||
now at: test.patch | ||||
% push should succeed | ||||
popping test.patch | ||||
patch queue now empty | ||||
Vadim Gelfer
|
r2852 | pushing to ../../k | ||
searching for changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 1 changesets with 1 changes to 1 files | ||||
Alexis S. L. Carvalho
|
r4101 | % qpush/qpop error codes | ||
applying test.patch | ||||
applying test1b.patch | ||||
applying test2.patch | ||||
Martin Geisler
|
r7627 | now at: test2.patch | ||
Alexis S. L. Carvalho
|
r4101 | % pops all patches and succeeds | ||
Mads Kiilerich
|
r9110 | popping test2.patch | ||
popping test1b.patch | ||||
popping test.patch | ||||
Martin Geisler
|
r7627 | patch queue now empty | ||
Alexis S. L. Carvalho
|
r4101 | qpop -a succeeds | ||
% does nothing and succeeds | ||||
no patches applied | ||||
qpop -a succeeds | ||||
% fails - nothing else to pop | ||||
no patches applied | ||||
qpop fails | ||||
% pushes a patch and succeeds | ||||
applying test.patch | ||||
Martin Geisler
|
r7627 | now at: test.patch | ||
Alexis S. L. Carvalho
|
r4101 | qpush succeeds | ||
% pops a patch and succeeds | ||||
Mads Kiilerich
|
r9110 | popping test.patch | ||
Martin Geisler
|
r7627 | patch queue now empty | ||
Alexis S. L. Carvalho
|
r4101 | qpop succeeds | ||
% pushes up to test1b.patch and succeeds | ||||
applying test.patch | ||||
applying test1b.patch | ||||
Martin Geisler
|
r7627 | now at: test1b.patch | ||
Alexis S. L. Carvalho
|
r4101 | qpush test1b.patch succeeds | ||
% does nothing and succeeds | ||||
qpush: test1b.patch is already at the top | ||||
qpush test1b.patch succeeds | ||||
% does nothing and succeeds | ||||
qpop: test1b.patch is already at the top | ||||
qpop test1b.patch succeeds | ||||
% fails - can't push to this patch | ||||
abort: cannot push to a previous patch: test.patch | ||||
qpush test.patch fails | ||||
% fails - can't pop to this patch | ||||
abort: patch test2.patch is not applied | ||||
qpop test2.patch fails | ||||
% pops up to test.patch and succeeds | ||||
Mads Kiilerich
|
r9110 | popping test1b.patch | ||
Martin Geisler
|
r7627 | now at: test.patch | ||
Alexis S. L. Carvalho
|
r4101 | qpop test.patch succeeds | ||
% pushes all patches and succeeds | ||||
applying test1b.patch | ||||
applying test2.patch | ||||
Martin Geisler
|
r7627 | now at: test2.patch | ||
Alexis S. L. Carvalho
|
r4101 | qpush -a succeeds | ||
% does nothing and succeeds | ||||
all patches are currently applied | ||||
qpush -a succeeds | ||||
% fails - nothing else to push | ||||
patch series already fully applied | ||||
qpush fails | ||||
% does nothing and succeeds | ||||
Brendan Cully
|
r7398 | qpush: test2.patch is already at the top | ||
Alexis S. L. Carvalho
|
r4101 | qpush test2.patch succeeds | ||
Vadim Gelfer
|
r2729 | % strip | ||
adding x | ||||
0 files updated, 0 files merged, 1 files removed, 0 files unresolved | ||||
Matt Mackall
|
r11200 | saved backup bundle to | ||
Vadim Gelfer
|
r2729 | adding changesets | ||
adding manifests | ||||
adding file changes | ||||
added 1 changesets with 1 changes to 1 files | ||||
(run 'hg update' to get a working copy) | ||||
Dirkjan Ochtman
|
r6472 | % strip with local changes, should complain | ||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
abort: local changes found | ||||
% --force strip with local changes | ||||
Benoit Boissinot
|
r8518 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | ||
Matt Mackall
|
r11200 | saved backup bundle to | ||
Brendan Cully
|
r3027 | % cd b; hg qrefresh | ||
adding a | ||||
foo | ||||
diff -r cb9a9f314b8b a | ||||
--- a/a | ||||
+++ b/a | ||||
Matt Mackall
|
r5863 | @@ -1,1 +1,2 @@ | ||
Brendan Cully
|
r3027 | a | ||
+a | ||||
diff -r cb9a9f314b8b b/f | ||||
--- /dev/null | ||||
+++ b/b/f | ||||
@@ -0,0 +1,1 @@ | ||||
+f | ||||
% hg qrefresh . | ||||
foo | ||||
diff -r cb9a9f314b8b b/f | ||||
--- /dev/null | ||||
+++ b/b/f | ||||
@@ -0,0 +1,1 @@ | ||||
+f | ||||
M a | ||||
Brendan Cully
|
r3334 | % qpush failure | ||
Mads Kiilerich
|
r9110 | popping bar | ||
popping foo | ||||
Martin Geisler
|
r7627 | patch queue now empty | ||
Brendan Cully
|
r3334 | applying foo | ||
applying bar | ||||
Bryan O'Sullivan
|
r4901 | file foo already exists | ||
Martin Geisler
|
r6952 | 1 out of 1 hunks FAILED -- saving rejects to file foo.rej | ||
Brendan Cully
|
r3334 | patch failed, unable to continue (try -v) | ||
patch failed, rejects left in working dir | ||||
Martin Geisler
|
r7627 | errors during apply, please fix and refresh bar | ||
Brendan Cully
|
r3464 | ? foo | ||
? foo.rej | ||||
Brendan Cully
|
r4219 | % mq tags | ||
0 qparent | ||||
Eric Eisner
|
r11047 | 1 foo qbase | ||
2 bar qtip tip | ||||
Alexis S. L. Carvalho
|
r5979 | % bad node in status | ||
Mads Kiilerich
|
r9110 | popping bar | ||
Martin Geisler
|
r7627 | now at: foo | ||
Alexis S. L. Carvalho
|
r5979 | changeset: 0:cb9a9f314b8b | ||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: a | ||||
default 0:cb9a9f314b8b | ||||
Vishakh H
|
r11637 | no patches applied | ||
Brendan Cully
|
r2934 | new file | ||
diff --git a/new b/new | ||||
new file mode 100755 | ||||
--- /dev/null | ||||
+++ b/new | ||||
@@ -0,0 +1,1 @@ | ||||
+foo | ||||
copy file | ||||
diff --git a/new b/copy | ||||
copy from new | ||||
copy to copy | ||||
Mads Kiilerich
|
r9110 | popping copy | ||
Martin Geisler
|
r7627 | now at: new | ||
Brendan Cully
|
r2934 | applying copy | ||
Martin Geisler
|
r7627 | now at: copy | ||
Brendan Cully
|
r2934 | diff --git a/new b/copy | ||
copy from new | ||||
copy to copy | ||||
Alexis S. L. Carvalho
|
r3697 | diff --git a/new b/copy | ||
copy from new | ||||
copy to copy | ||||
Patrick Mezard
|
r10149 | % test file addition in slow path | ||
Alexis S. L. Carvalho
|
r3699 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved | ||
Dirkjan Ochtman
|
r6336 | created new head | ||
Alexis S. L. Carvalho
|
r3699 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved | ||
diff --git a/bar b/bar | ||||
new file mode 100644 | ||||
--- /dev/null | ||||
+++ b/bar | ||||
@@ -0,0 +1,1 @@ | ||||
+bar | ||||
diff --git a/foo b/baz | ||||
rename from foo | ||||
rename to baz | ||||
2 baz (foo) | ||||
Alexis S. L. Carvalho
|
r3700 | diff --git a/bar b/bar | ||
new file mode 100644 | ||||
--- /dev/null | ||||
+++ b/bar | ||||
@@ -0,0 +1,1 @@ | ||||
+bar | ||||
diff --git a/foo b/baz | ||||
rename from foo | ||||
rename to baz | ||||
2 baz (foo) | ||||
Bryan O'Sullivan
|
r4890 | diff --git a/bar b/bar | ||
diff --git a/foo b/baz | ||||
Patrick Mezard
|
r10149 | % test file move chains in the slow path | ||
Alexis S. L. Carvalho
|
r3699 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved | ||
2 files updated, 0 files merged, 1 files removed, 0 files unresolved | ||||
diff --git a/foo b/bleh | ||||
rename from foo | ||||
rename to bleh | ||||
diff --git a/quux b/quux | ||||
new file mode 100644 | ||||
--- /dev/null | ||||
+++ b/quux | ||||
@@ -0,0 +1,1 @@ | ||||
+bar | ||||
3 bleh (foo) | ||||
Alexis S. L. Carvalho
|
r3700 | diff --git a/foo b/barney | ||
rename from foo | ||||
rename to barney | ||||
diff --git a/fred b/fred | ||||
new file mode 100644 | ||||
--- /dev/null | ||||
+++ b/fred | ||||
@@ -0,0 +1,1 @@ | ||||
+bar | ||||
3 barney (foo) | ||||
Brendan Cully
|
r5294 | % refresh omitting an added file | ||
C newfile | ||||
A newfile | ||||
Mads Kiilerich
|
r9110 | popping baz | ||
Martin Geisler
|
r7627 | now at: bar | ||
Patrick Mezard
|
r5026 | % create a git patch | ||
diff --git a/alexander b/alexander | ||||
% create a git binary patch | ||||
8ba2a2f3e77b55d03051ff9c24ad65e7 bucephalus | ||||
diff --git a/bucephalus b/bucephalus | ||||
% check binary patches can be popped and pushed | ||||
Mads Kiilerich
|
r9110 | popping addbucephalus | ||
Martin Geisler
|
r7627 | now at: addalexander | ||
Patrick Mezard
|
r5026 | applying addbucephalus | ||
Martin Geisler
|
r7627 | now at: addbucephalus | ||
Patrick Mezard
|
r5026 | 8ba2a2f3e77b55d03051ff9c24ad65e7 bucephalus | ||
Alexis S. L. Carvalho
|
r4065 | % strip again | ||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
Dirkjan Ochtman
|
r6336 | created new head | ||
Alexis S. L. Carvalho
|
r4065 | merging foo | ||
0 files updated, 1 files merged, 0 files removed, 0 files unresolved | ||||
(branch merge, don't forget to commit) | ||||
changeset: 3:99615015637b | ||||
tag: tip | ||||
parent: 2:20cbbe65cff7 | ||||
parent: 1:d2871fc282d4 | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: merge | ||||
changeset: 2:20cbbe65cff7 | ||||
parent: 0:53245c60e682 | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: change foo 2 | ||||
changeset: 1:d2871fc282d4 | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: change foo 1 | ||||
changeset: 0:53245c60e682 | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: add foo | ||||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
Matt Mackall
|
r11200 | saved backup bundle to | ||
Alexis S. L. Carvalho
|
r4065 | changeset: 1:20cbbe65cff7 | ||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: change foo 2 | ||||
changeset: 0:53245c60e682 | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: add foo | ||||
Alexis S. L. Carvalho
|
r4090 | % qclone | ||
Cédric Duval
|
r10690 | abort: versioned patch repository not found (see init --mq) | ||
Brendan Cully
|
r4862 | adding .hg/patches/patch1 | ||
Alexis S. L. Carvalho
|
r4090 | main repo: | ||
rev 1: change foo | ||||
rev 0: add foo | ||||
patch repo: | ||||
rev 0: checkpoint | ||||
Adrian Buehlmann
|
r9611 | updating to branch default | ||
Alexis S. L. Carvalho
|
r4090 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
main repo: | ||||
rev 0: add foo | ||||
patch repo: | ||||
rev 0: checkpoint | ||||
Mads Kiilerich
|
r9110 | popping patch1 | ||
Martin Geisler
|
r7627 | patch queue now empty | ||
Alexis S. L. Carvalho
|
r4090 | main repo: | ||
rev 0: add foo | ||||
patch repo: | ||||
rev 0: checkpoint | ||||
Adrian Buehlmann
|
r9611 | updating to branch default | ||
Alexis S. L. Carvalho
|
r4090 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
main repo: | ||||
rev 0: add foo | ||||
patch repo: | ||||
rev 0: checkpoint | ||||
Patrick Mezard
|
r6280 | % test applying on an empty file (issue 1033) | ||
adding a | ||||
Mads Kiilerich
|
r9110 | popping changea | ||
Martin Geisler
|
r7627 | patch queue now empty | ||
Patrick Mezard
|
r6280 | applying changea | ||
Martin Geisler
|
r7627 | now at: changea | ||
Dirkjan Ochtman
|
r6554 | % test qpush with --force, issue1087 | ||
adding bye.txt | ||||
adding hello.txt | ||||
Mads Kiilerich
|
r9110 | popping empty | ||
Martin Geisler
|
r7627 | patch queue now empty | ||
Dirkjan Ochtman
|
r6554 | % qpush should fail, local changes | ||
abort: local changes found, refresh first | ||||
% apply force, should not discard changes with empty patch | ||||
applying empty | ||||
patch empty is empty | ||||
Martin Geisler
|
r7627 | now at: empty | ||
Dirkjan Ochtman
|
r6554 | diff -r bf5fc3f07a0a hello.txt | ||
--- a/hello.txt | ||||
+++ b/hello.txt | ||||
@@ -1,1 +1,2 @@ | ||||
hello | ||||
+world | ||||
diff -r 9ecee4f634e3 hello.txt | ||||
--- a/hello.txt | ||||
+++ b/hello.txt | ||||
@@ -1,1 +1,2 @@ | ||||
hello | ||||
+world | ||||
changeset: 1:bf5fc3f07a0a | ||||
Eric Eisner
|
r11047 | tag: empty | ||
tag: qbase | ||||
Dirkjan Ochtman
|
r6554 | tag: qtip | ||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: imported patch empty | ||||
Mads Kiilerich
|
r9110 | popping empty | ||
Martin Geisler
|
r7627 | patch queue now empty | ||
Dirkjan Ochtman
|
r6554 | % qpush should fail, local changes | ||
abort: local changes found, refresh first | ||||
% apply force, should discard changes in hello, but not bye | ||||
applying empty | ||||
Martin Geisler
|
r7627 | now at: empty | ||
Dirkjan Ochtman
|
r6554 | M bye.txt | ||
diff -r ba252371dbc1 bye.txt | ||||
--- a/bye.txt | ||||
+++ b/bye.txt | ||||
@@ -1,1 +1,2 @@ | ||||
bye | ||||
+universe | ||||
diff -r 9ecee4f634e3 bye.txt | ||||
--- a/bye.txt | ||||
+++ b/bye.txt | ||||
@@ -1,1 +1,2 @@ | ||||
bye | ||||
+universe | ||||
diff -r 9ecee4f634e3 hello.txt | ||||
--- a/hello.txt | ||||
+++ b/hello.txt | ||||
@@ -1,1 +1,3 @@ | ||||
hello | ||||
+world | ||||
+universe | ||||
Dirkjan Ochtman
|
r7621 | % test popping revisions not in working dir ancestry | ||
0 A empty | ||||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
Mads Kiilerich
|
r9110 | popping empty | ||
Martin Geisler
|
r7627 | patch queue now empty | ||
Nicolas Dumazet
|
r10048 | % test popping must remove files added in subdirectories first | ||
popping rename-dir | ||||
patch queue now empty | ||||