##// END OF EJS Templates
merge with stable
merge with stable

File last commit:

r10190:9c2c9493 default
r10244:c4c0502b merge default
Show More
test-mq.out
630 lines | 14.1 KiB | text/plain | TextLexer
Vadim Gelfer
mq: add basic tests
r2729 % help
Dirkjan Ochtman
extensions: fix up description lines some more
r8932 mq extension - manage a stack of patches
Vadim Gelfer
mq: add basic tests
r2729
This extension lets you work with a stack of patches in a Mercurial
Martin Geisler
mq: wrapped docstrings at 78 characters
r9067 repository. It manages two stacks of patches - all known patches, and applied
patches (subset of known patches).
Vadim Gelfer
mq: add basic tests
r2729
Martin Geisler
mq: wrapped docstrings at 78 characters
r9067 Known patches are represented as patch files in the .hg/patches directory.
Applied patches are both patch files and changesets.
Vadim Gelfer
mq: add basic tests
r2729
Common tasks (use "hg help command" for more details):
Martin Geisler
minirst: indent literal blocks with two spaces...
r9291 prepare repository to work with patches qinit
create new patch qnew
import existing patch qimport
Vadim Gelfer
mq: add basic tests
r2729
Martin Geisler
minirst: indent literal blocks with two spaces...
r9291 print patch series qseries
print applied patches qapplied
Vadim Gelfer
mq: add basic tests
r2729
Martin Geisler
minirst: indent literal blocks with two spaces...
r9291 add known patch to applied stack qpush
remove patch from applied stack qpop
refresh contents of top applied patch qrefresh
Vadim Gelfer
mq: add basic tests
r2729
Patrick Mezard
mq: upgrade to git patch when necessary (issue767)
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.
Alexis S. L. Carvalho
Add a pointer to "hg -v help" to the bottom of hg help {,cmd} output...
r4315 list of commands:
Vadim Gelfer
mq: add basic tests
r2729
qapplied print the patches already applied
qclone clone main and patch repository at same time
qcommit commit changes in the queue repository
Thomas Arendsen Hein
Adjusted test to changed help output.
r2910 qdelete remove patches from queue
Patrick Mezard
test-mq: update qdiff summary output
r6608 qdiff diff of the current patch and subsequent modifications
Dirkjan Ochtman
mq: introduce the qfinish command
r6645 qfinish move applied patches into repository history
Brendan Cully
New mq command qfold: Merge patches into the current patch....
r2748 qfold fold the named patches into the current patch
Bryan O'Sullivan
mq: add qgoto command.
r4432 qgoto push or pop patches until named patch is at top of stack
Vadim Gelfer
mq: new commands qselect, qguard...
r2821 qguard set or print guards for a patch
Martin Geisler
lowercase help output...
r7598 qheader print the header of the topmost or specified patch
Vadim Gelfer
mq: add basic tests
r2729 qimport import a patch
qinit init a new queue repository
qnew create a new patch
Matt Mackall
Backed out premature qprev/qnext removal
r9439 qnext print the name of the next patch
Vadim Gelfer
mq: add basic tests
r2729 qpop pop the current patch off the stack
Matt Mackall
Backed out premature qprev/qnext removal
r9439 qprev print the name of the previous patch
Vadim Gelfer
mq: add basic tests
r2729 qpush push the next patch onto the stack
qrefresh update the current patch
Brendan Cully
New self-explanatory command qrename.
r2750 qrename rename a patch
Martin Geisler
expand "rev" to "revision" in help texts
r8028 qrestore restore the queue state saved by a revision
Vadim Gelfer
mq: add basic tests
r2729 qsave save current queue state
Vadim Gelfer
mq: new commands qselect, qguard...
r2821 qselect set or print guarded patches to push
Vadim Gelfer
mq: add basic tests
r2729 qseries print the entire series file
Matt Mackall
Backed out premature qprev/qnext removal
r9439 qtop print the name of the current patch
Vadim Gelfer
mq: add basic tests
r2729 qunapplied print the patches not yet applied
Dirkjan Ochtman
mq: don't update the working copy on strip if parents aren't stripped...
r6635 strip strip a revision and all its descendants from the repository
Alexis S. L. Carvalho
Add a pointer to "hg -v help" to the bottom of hg help {,cmd} output...
r4315
use "hg -v help mq" to show aliases and global options
Vadim Gelfer
mq: add basic tests
r2729 adding a
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Vadim Gelfer
mq: do not allow to push from repo with patches applied
r2848 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Vadim Gelfer
mq: add basic tests
r2729 adding b/z
% qinit
% -R qinit
% qinit -c
A .hgignore
A series
Alexis S. L. Carvalho
mq: qinit -c creates a repo even after a regular qinit
r4071 % qinit; qinit -c
.hgignore:
Alexis S. L. Carvalho
qinit -c: add ^\.hg and ^\.mq to .hgignore
r6034 ^\.hg
^\.mq
Alexis S. L. Carvalho
mq: qinit -c creates a repo even after a regular qinit
r4071 syntax: glob
status
guards
series:
abort: repository already exists!
% qinit; <stuff>; qinit -c
Alexis S. L. Carvalho
Merge with crew-stable
r4232 adding .hg/patches/A
adding .hg/patches/B
Alexis S. L. Carvalho
mq: qinit -c creates a repo even after a regular qinit
r4071 A .hgignore
A A
A B
A series
.hgignore:
status
bleh
series:
A
B
Vadim Gelfer
mq: add basic tests
r2729 % qrefresh
foo bar
diff -r xa
--- a/a
+++ b/a
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,1 +1,2 @@
Vadim Gelfer
mq: add basic tests
r2729 a
+a
Alexis S. L. Carvalho
fix qrefresh'ing an empty patch...
r4173 % empty qrefresh
revision:
patch:
foo bar
working dir diff:
--- a/a
+++ b/a
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,1 +1,2 @@
Alexis S. L. Carvalho
fix qrefresh'ing an empty patch...
r4173 a
+a
Vadim Gelfer
mq: add basic tests
r2729 % qpop
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping test.patch
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Greg Ward
tags: implement persistent tag caching (issue548)....
r9151 % qpush with dump of tag cache
.hg/tags.cache (pre qpush):
1
Greg Ward
tags: support 'instant' tag retrieval (issue548)...
r9152
Vadim Gelfer
mq: add basic tests
r2729 applying test.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test.patch
Greg Ward
tags: implement persistent tag caching (issue548)....
r9151 .hg/tags.cache (post qpush):
2
Greg Ward
tags: support 'instant' tag retrieval (issue548)...
r9152
Vadim Gelfer
mq: add basic tests
r2729 % pop/push outside repo
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping test.patch
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Vadim Gelfer
mq: add basic tests
r2729 applying test.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test.patch
Vadim Gelfer
mq: add basic tests
r2729 % qrefresh in subdir
% pop/push -a in subdir
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping test2.patch
popping test.patch
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Vadim Gelfer
mq: add basic tests
r2729 applying test.patch
applying test2.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test2.patch
Vadim Gelfer
mq: add basic tests
r2729 % qseries
test.patch
test2.patch
Dan Villiom Podlaski Christiansen
qseries: don't truncate the patch name (issue1912)...
r9874 0 A test.patch: f...
1 A test2.patch:
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping test2.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test.patch
Alexis S. L. Carvalho
fix qseries -v when there are unapplied patches
r3681 0 A test.patch: foo bar
1 U test2.patch:
applying test2.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test2.patch
Vadim Gelfer
mq: add basic tests
r2729 % qapplied
test.patch
test2.patch
Matt Mackall
Backed out premature qprev/qnext removal
r9439 % qtop
test2.patch
Dirkjan Ochtman
mq: add options to qapplied/qunapplied to act like qprev/qnext
r9364 % prev
Vadim Gelfer
mq: add basic tests
r2729 test.patch
Dirkjan Ochtman
mq: add options to qapplied/qunapplied to act like qprev/qnext
r9364 % next
Martin Geisler
mq: lowercase output...
r7627 all patches applied
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping test2.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test.patch
Vadim Gelfer
mq: test commit in repo with patches applied
r2846 % commit should fail
abort: cannot commit over an applied mq patch
Vadim Gelfer
mq: do not allow to push from repo with patches applied
r2848 % push should fail
pushing to ../../k
abort: source has mq patches applied
Brendan Cully
Prevent import over an applied patch (closes issue795)
r7142 % import should fail
abort: cannot import over an applied patch
Brendan Cully
Allow import --no-commit over an applied MQ patch....
r9867 % import --no-commit should succeed
applying ../../import.diff
M a
Vadim Gelfer
mq: add basic tests
r2729 % qunapplied
test2.patch
Thomas Arendsen Hein
Added tests for qpush/qpop with index.
r3081 % qpush/qpop with index
applying test2.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test2.patch
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping test2.patch
popping test1b.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test.patch
Thomas Arendsen Hein
Added tests for qpush/qpop with index.
r3081 applying test1b.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test1b.patch
Thomas Arendsen Hein
Added tests for qpush/qpop with index.
r3081 applying test2.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test2.patch
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping test2.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test1b.patch
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping test1b.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test.patch
Thomas Arendsen Hein
Added tests for qpush/qpop with index.
r3081 applying test1b.patch
applying test2.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test2.patch
Dirkjan Ochtman
mq: add options to qapplied/qunapplied to act like qprev/qnext
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
mq: qpop now tells which patches are popped...
r9110 popping test2.patch
Dirkjan Ochtman
mq: add options to qapplied/qunapplied to act like qprev/qnext
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
mq: qpop now tells which patches are popped...
r9110 popping test1b.patch
popping test.patch
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Dirkjan Ochtman
mq: add options to qapplied/qunapplied to act like qprev/qnext
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
fix test output
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
add some tests for qpush/qpop error codes
r4101 % qpush/qpop error codes
applying test.patch
applying test1b.patch
applying test2.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test2.patch
Alexis S. L. Carvalho
add some tests for qpush/qpop error codes
r4101 % pops all patches and succeeds
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping test2.patch
popping test1b.patch
popping test.patch
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Alexis S. L. Carvalho
add some tests for qpush/qpop error codes
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
mq: lowercase output...
r7627 now at: test.patch
Alexis S. L. Carvalho
add some tests for qpush/qpop error codes
r4101 qpush succeeds
% pops a patch and succeeds
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping test.patch
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Alexis S. L. Carvalho
add some tests for qpush/qpop error codes
r4101 qpop succeeds
% pushes up to test1b.patch and succeeds
applying test.patch
applying test1b.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test1b.patch
Alexis S. L. Carvalho
add some tests for qpush/qpop error codes
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
mq: qpop now tells which patches are popped...
r9110 popping test1b.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test.patch
Alexis S. L. Carvalho
add some tests for qpush/qpop error codes
r4101 qpop test.patch succeeds
% pushes all patches and succeeds
applying test1b.patch
applying test2.patch
Martin Geisler
mq: lowercase output...
r7627 now at: test2.patch
Alexis S. L. Carvalho
add some tests for qpush/qpop error codes
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
mq: gracefully abort qpush/qgoto to guarded patch (issue1186)
r7398 qpush: test2.patch is already at the top
Alexis S. L. Carvalho
add some tests for qpush/qpop error codes
r4101 qpush test2.patch succeeds
Vadim Gelfer
mq: add basic tests
r2729 % strip
adding x
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
saving bundle to
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
mq: add --force option to strip
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
update --clean: do not unlink added files (issue575)
r8518 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
Dirkjan Ochtman
mq: add --force option to strip
r6472 saving bundle to
Brendan Cully
Call patch.diff directly instead of printdiff - this also saves an...
r3027 % cd b; hg qrefresh
adding a
foo
diff -r cb9a9f314b8b a
--- a/a
+++ b/a
Matt Mackall
diff: don't show function name by default...
r5863 @@ -1,1 +1,2 @@
Brendan Cully
Call patch.diff directly instead of printdiff - this also saves an...
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
Test case for bdiff on buffer objects
r3334 % qpush failure
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping bar
popping foo
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Brendan Cully
Test case for bdiff on buffer objects
r3334 applying foo
applying bar
Bryan O'Sullivan
Update test output to reflect small changes in patch chattiness.
r4901 file foo already exists
Martin Geisler
i18n: avoid naive plural tricks
r6952 1 out of 1 hunks FAILED -- saving rejects to file foo.rej
Brendan Cully
Test case for bdiff on buffer objects
r3334 patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
Martin Geisler
mq: lowercase output...
r7627 errors during apply, please fix and refresh bar
Brendan Cully
mq: test case for issue399
r3464 ? foo
? foo.rej
Brendan Cully
mq: add qparent tag (first parent of qbase)
r4219 % mq tags
0 qparent
1 qbase foo
2 qtip bar tip
Alexis S. L. Carvalho
mqrepo: don't abort if the status file has an unknown node
r5979 % bad node in status
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping bar
Martin Geisler
mq: lowercase output...
r7627 now at: foo
Alexis S. L. Carvalho
mqrepo: don't abort if the status file has an unknown node
r5979 changeset: 0:cb9a9f314b8b
mq status file refers to unknown node
tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: a
mq status file refers to unknown node
default 0:cb9a9f314b8b
Dirkjan Ochtman
mq: allow qpop if popped revisions are not working dir parents
r7621 abort: trying to pop unknown node
Brendan Cully
Teach mq about git patches
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
mq: qpop now tells which patches are popped...
r9110 popping copy
Martin Geisler
mq: lowercase output...
r7627 now at: new
Brendan Cully
Teach mq about git patches
r2934 applying copy
Martin Geisler
mq: lowercase output...
r7627 now at: copy
Brendan Cully
Teach mq about git patches
r2934 diff --git a/new b/copy
copy from new
copy to copy
Alexis S. L. Carvalho
add --git option to qdiff
r3697 diff --git a/new b/copy
copy from new
copy to copy
Patrick Mezard
test-mq: better tests delimitation
r10149 % test file addition in slow path
Alexis S. L. Carvalho
qrefresh: fix handling of added files (including copies) in the slow path
r3699 1 files updated, 0 files merged, 2 files removed, 0 files unresolved
Dirkjan Ochtman
warn about new heads on commit (issue842)
r6336 created new head
Alexis S. L. Carvalho
qrefresh: fix handling of added files (including copies) in the slow path
r3699 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping bar
Alexis S. L. Carvalho
qrefresh: fix handling of added files (including copies) in the slow path
r3699 adding branch
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Dirkjan Ochtman
mq: qpush shouldn't complain if working dir is at a non-tip head
r8433 (working directory not at a head)
Alexis S. L. Carvalho
qrefresh: fix handling of added files (including copies) in the slow path
r3699 applying bar
Martin Geisler
mq: lowercase output...
r7627 now at: bar
Alexis S. L. Carvalho
qrefresh: fix handling of added files (including copies) in the slow path
r3699 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
qrefresh: fix handling of copies in the fast path
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
mq: autodetect an existing git patch during qrefresh (issue 491)
r4890 diff --git a/bar b/bar
diff --git a/foo b/baz
Patrick Mezard
test-mq: better tests delimitation
r10149 % test file move chains in the slow path
Alexis S. L. Carvalho
qrefresh: fix handling of added files (including copies) in the slow path
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
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping bar
Alexis S. L. Carvalho
qrefresh: fix handling of added files (including copies) in the slow path
r3699 adding branch
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Dirkjan Ochtman
mq: qpush shouldn't complain if working dir is at a non-tip head
r8433 (working directory not at a head)
Alexis S. L. Carvalho
qrefresh: fix handling of added files (including copies) in the slow path
r3699 applying bar
Martin Geisler
mq: lowercase output...
r7627 now at: bar
Alexis S. L. Carvalho
qrefresh: fix handling of added files (including copies) in the slow path
r3699 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
qrefresh: fix handling of copies in the fast path
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
mq: fix regression in 6fd953d5faea...
r5294 % refresh omitting an added file
C newfile
A newfile
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping baz
Martin Geisler
mq: lowercase output...
r7627 now at: bar
Patrick Mezard
Test qnew --git
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
mq: qpop now tells which patches are popped...
r9110 popping addbucephalus
Martin Geisler
mq: lowercase output...
r7627 now at: addalexander
Patrick Mezard
Test qnew --git
r5026 applying addbucephalus
Martin Geisler
mq: lowercase output...
r7627 now at: addbucephalus
Patrick Mezard
Test qnew --git
r5026 8ba2a2f3e77b55d03051ff9c24ad65e7 bucephalus
Alexis S. L. Carvalho
fix strip'ping the second parent of a merge
r4065 % strip again
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Dirkjan Ochtman
warn about new heads on commit (issue842)
r6336 created new head
Alexis S. L. Carvalho
fix strip'ping the second parent of a merge
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
saving bundle to
saving bundle to
adding branch
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
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
qclone: don't call reposetup manually
r4090 % qclone
Brendan Cully
mq: improve qclone error handling when patch directory is not a repository.
r4862 abort: versioned patch repository not found (see qinit -c)
adding .hg/patches/patch1
Alexis S. L. Carvalho
qclone: don't call reposetup manually
r4090 main repo:
rev 1: change foo
rev 0: add foo
patch repo:
rev 0: checkpoint
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Alexis S. L. Carvalho
qclone: don't call reposetup manually
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
mq: qpop now tells which patches are popped...
r9110 popping patch1
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Alexis S. L. Carvalho
qclone: don't call reposetup manually
r4090 main repo:
rev 0: add foo
patch repo:
rev 0: checkpoint
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Alexis S. L. Carvalho
qclone: don't call reposetup manually
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
patch: check filename is /dev/null for creation or deletion (issue 1033)...
r6280 % test applying on an empty file (issue 1033)
adding a
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping changea
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Patrick Mezard
patch: check filename is /dev/null for creation or deletion (issue 1033)...
r6280 applying changea
Martin Geisler
mq: lowercase output...
r7627 now at: changea
Dirkjan Ochtman
mq: don't commit local changes on pushing empty patch (issue1087)
r6554 % test qpush with --force, issue1087
adding bye.txt
adding hello.txt
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping empty
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Dirkjan Ochtman
mq: don't commit local changes on pushing empty patch (issue1087)
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
mq: lowercase output...
r7627 now at: empty
Dirkjan Ochtman
mq: don't commit local changes on pushing empty patch (issue1087)
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
tag: qtip
tag: tip
tag: empty
tag: qbase
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: imported patch empty
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping empty
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Dirkjan Ochtman
mq: don't commit local changes on pushing empty patch (issue1087)
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
mq: lowercase output...
r7627 now at: empty
Dirkjan Ochtman
mq: don't commit local changes on pushing empty patch (issue1087)
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
mq: allow qpop if popped revisions are not working dir parents
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
mq: qpop now tells which patches are popped...
r9110 popping empty
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Nicolas Dumazet
mq: qpop: remove added files before re-adding removed files...
r10048 % test popping must remove files added in subdirectories first
popping rename-dir
patch queue now empty