##// END OF EJS Templates
tests: remove unneeded -d flags...
tests: remove unneeded -d flags Many tests fixed the commit date of their changesets at '1000000 0' or similar. However testing with "Mon Jan 12 13:46:40 1970 +0000" is not better than testing with "Thu Jan 01 00:00:00 1970 +0000", which is the default run-tests.py installs. Removing the unnecessary flag removes some clutter and will hopefully make it clearer what the tests are really trying to test. Some tests did not even change their output when the dates were changed, in which case the -d flag was truly irrelevant. Dates used in sequence (such as '0 0', '1 0', etc...) were left alone since they may make the test easier to understand.

File last commit:

r11575:a5903e61 default
r12156:4c94b6d0 default
Show More
test-mq-qnew.out
120 lines | 3.1 KiB | text/plain | TextLexer
Steve Losh
mq: add parent node IDs to MQ patches on qrefresh/qnew...
r10397 %%% plain headers
Brendan Cully
mq: put qnew tests into own file, fold in qnew-twice
r7296 adding a
% qnew should refuse bad patch names
abort: "series" cannot be used as the name of a patch
abort: "status" cannot be used as the name of a patch
abort: "guards" cannot be used as the name of a patch
abort: ".hgignore" cannot be used as the name of a patch
Sune Foldager
mq: disallow # (and : on Windows) in patch names (issue2065)
r10588 abort: ".mqfoo" cannot be used as the name of a patch
abort: "foo#bar" cannot be used as the name of a patch
Sune Foldager
mq: disallow : in patch names (issue2065)
r10589 abort: "foo:bar" cannot be used as the name of a patch
Yuya Nishihara
mq: fixed ENOENT when qrename to new/directory.patch...
r11513 % qnew with name containing slash
foo/bar.patch
popping foo/bar.patch
patch queue now empty
Brendan Cully
mq: put qnew tests into own file, fold in qnew-twice
r7296 % qnew with uncommitted changes
Augie Fackler
qnew: ignore force option...
r10372 uncommitted.patch
Brendan Cully
mq: put qnew tests into own file, fold in qnew-twice
r7296 % qnew implies add
A .hgignore
A series
Augie Fackler
qnew: ignore force option...
r10372 A uncommitted.patch
Brendan Cully
mq: put qnew tests into own file, fold in qnew-twice
r7296 % qnew missing
abort: missing: No such file or directory
% qnew -m
foo bar
Bernhard Leiner
mq: make qnew patch format consistent with qrefresh (issue1457)
r7614
Brendan Cully
mq: put qnew tests into own file, fold in qnew-twice
r7296 % qnew twice
abort: patch "first.patch" already exists
abort: patch "first.patch" already exists
Brendan Cully
mq: use cmdutil.matchfiles instead of match for qnew -f....
r7297 % qnew -f from a subdirectory
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping first.patch
popping mtest.patch
Augie Fackler
qnew: ignore force option...
r10372 popping uncommitted.patch
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Brendan Cully
mq: use cmdutil.matchfiles instead of match for qnew -f....
r7297 adding d/b
M d/b
diff --git a/d/b b/d/b
--- a/d/b
+++ b/d/b
@@ -1,1 +1,2 @@
b
+b
Martin Geisler
mq: do not call ui.username unless it is necessary...
r9733 % qnew -u with no username configured
From: blue
Brendan Cully
mq: evaluate --user before invoking editor with -e (issue2289)
r11575 % qnew -e -u with no username configured
From: chartreuse
timeless
mq: qnew -f should reject merge working directories
r10114 % fail when trying to import a merge
adding a
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
created new head
merging a
warning: conflicts during merge.
merging a failed!
0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon
abort: cannot manage merge changesets
Steve Losh
mq: add parent node IDs to MQ patches on qrefresh/qnew...
r10397 %%% hg headers
adding a
% qnew should refuse bad patch names
abort: "series" cannot be used as the name of a patch
abort: "status" cannot be used as the name of a patch
abort: "guards" cannot be used as the name of a patch
abort: ".hgignore" cannot be used as the name of a patch
Sune Foldager
mq: disallow # (and : on Windows) in patch names (issue2065)
r10588 abort: ".mqfoo" cannot be used as the name of a patch
abort: "foo#bar" cannot be used as the name of a patch
Sune Foldager
mq: correct test output
r10590 abort: "foo:bar" cannot be used as the name of a patch
Yuya Nishihara
mq: fixed ENOENT when qrename to new/directory.patch...
r11513 % qnew with name containing slash
foo/bar.patch
popping foo/bar.patch
patch queue now empty
Steve Losh
mq: add parent node IDs to MQ patches on qrefresh/qnew...
r10397 % qnew with uncommitted changes
uncommitted.patch
% qnew implies add
A .hgignore
A series
A uncommitted.patch
% qnew missing
abort: missing: No such file or directory
% qnew -m
# HG changeset patch
# Parent
foo bar
% qnew twice
abort: patch "first.patch" already exists
abort: patch "first.patch" already exists
% qnew -f from a subdirectory
popping first.patch
popping mtest.patch
popping uncommitted.patch
patch queue now empty
adding d/b
M d/b
# HG changeset patch
# Parent
diff --git a/d/b b/d/b
--- a/d/b
+++ b/d/b
@@ -1,1 +1,2 @@
b
+b
% qnew -u with no username configured
# HG changeset patch
# Parent
# User blue
Brendan Cully
mq: evaluate --user before invoking editor with -e (issue2289)
r11575 % qnew -e -u with no username configured
# HG changeset patch
# Parent
# User chartreuse
Steve Losh
mq: add parent node IDs to MQ patches on qrefresh/qnew...
r10397 % fail when trying to import a merge
adding a
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
created new head
merging a
warning: conflicts during merge.
merging a failed!
0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon
abort: cannot manage merge changesets