##// 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:

r10490:f2618cac stable
r12156:4c94b6d0 default
Show More
test-win32text.out
304 lines | 5.4 KiB | text/plain | TextLexer
/ tests / test-win32text.out
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675 [hooks]
pretxncommit.crlf = python:hgext.win32text.forbidcrlf
pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 commit should succeed
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 commit should fail
Attempt to commit or push text file(s) using CRLF line endings
in f583ea08d42a: f
transaction abort!
rollback completed
abort: pretxncommit.crlf hook failed
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 commits should succeed
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 push should fail
pushing to ../zoz
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675 searching for changes
adding changesets
adding manifests
adding file changes
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 added 2 changesets with 2 changes to 2 files
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675 Attempt to commit or push text file(s) using CRLF line endings
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 in bc2d09796734: g
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 in b1aa5cde7ff4: f
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675
To prevent this mistake in your local repository,
add to Mercurial.ini or .hg/hgrc:
[hooks]
pretxncommit.crlf = python:hgext.win32text.forbidcrlf
and also consider adding:
[extensions]
Martin Geisler
win32text: do not mention hgext in warning
r10132 win32text =
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675 [encode]
** = cleverencode:
[decode]
** = cleverdecode:
transaction abort!
rollback completed
abort: pretxnchangegroup.crlf hook failed
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 commit should succeed
push should succeed
pushing to ../zoz
searching for changes
adding changesets
adding manifests
adding file changes
added 3 changesets with 3 changes to 2 files
and now for something completely different
Attempt to commit or push text file(s) using CRLF line endings
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 in 053ba1a3035a: d/f2
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 transaction abort!
rollback completed
abort: pretxncommit.crlf hook failed
forgetting d/f2
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 5:f0b1c8d75fce
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675 tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: bin
description:
5
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 4:77796dbcd4ad
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f
description:
4
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 3:7c1b5430b350
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f g
description:
2.3
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 2:bc2d09796734
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: g
description:
2.2
changeset: 1:b1aa5cde7ff4
user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f
description:
2
changeset: 0:fcf06d5c4e1d
user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f
description:
1
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
adding dupe/a
adding dupe/b
adding dupe/c
adding dupe/d
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 8:67ac5962ab43
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: d
description:
d
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 7:68c127d1834e
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: b c
description:
b/c
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 6:adbf8bf7f31d
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: a
description:
a
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 5:f0b1c8d75fce
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: bin
description:
5
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 4:77796dbcd4ad
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f
description:
4
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 3:7c1b5430b350
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f g
description:
2.3
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 2:bc2d09796734
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: g
description:
2.2
changeset: 1:b1aa5cde7ff4
user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f
description:
2
changeset: 0:fcf06d5c4e1d
user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f
description:
1
pulling from dupe
searching for changes
adding changesets
adding manifests
adding file changes
added 3 changesets with 4 changes to 4 files
Attempt to commit or push text file(s) using CRLF line endings
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 in 67ac5962ab43: d
in 68c127d1834e: b
in 68c127d1834e: c
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147
To prevent this mistake in your local repository,
add to Mercurial.ini or .hg/hgrc:
[hooks]
pretxncommit.crlf = python:hgext.win32text.forbidcrlf
and also consider adding:
[extensions]
Martin Geisler
win32text: do not mention hgext in warning
r10132 win32text =
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 [encode]
** = cleverencode:
[decode]
** = cleverdecode:
transaction abort!
rollback completed
abort: pretxnchangegroup.crlf hook failed
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 5:f0b1c8d75fce
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: bin
description:
5
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 4:77796dbcd4ad
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f
description:
4
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 3:7c1b5430b350
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f g
description:
2.3
Ronny Pfannschmidt
filelog: sort meta entries, ensure deterministic order
r10490 changeset: 2:bc2d09796734
Bryan O'Sullivan
win32text: be more careful about rejecting violating changesets...
r8147 user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: g
description:
2.2
changeset: 1:b1aa5cde7ff4
user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f
description:
2
Jesse Glick
Issue 882: add standard hook to reject text files with CRLF....
r5675 changeset: 0:fcf06d5c4e1d
user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: f
description:
1
Jesse Glick
Provide better context for custom Python encode/decode filters....
r5967 hello<NUL><CR><LF>
some<LF>text<LF>
rem empty<CR><LF>
[extensions]
win32text =
[decode]
** = cleverdecode:
[encode]
** = cleverencode:
WARNING: f4.bat already has CRLF line endings
and does not need EOL conversion by the win32text plugin.
Before your next commit, please reconsider your encode/decode settings in
Mercurial.ini or ..../.hg/hgrc.
3 files updated, 0 files merged, 0 files removed, 0 files unresolved
hello<NUL><CR><LF>
some<CR><LF>text<CR><LF>
rem empty<CR><LF>
# empty<CR><LF>
# empty<LF>
Alexis S. L. Carvalho
revert: update state of files in the "checkout" list...
r6299 % just linefeed<LF>
% just linefeed<LF>
no changes needed to linefeed
% just linefeed<LF>
M linefeed
reverting linefeed
% just linefeed<CR><LF>