tests/test-revlog-raw.py.out
author Augie Fackler <augie@google.com>
Thu, 26 Apr 2018 23:33:27 -0400
changeset 37915 6574c81b6831
parent 31760 ec48d57de110
child 41037 cca12a31ede5
permissions -rw-r--r--
tests: port test-hybridencode.py to unittest This was done predominantly through keyboard macros in emacs, so it's not always pretty, but it's enough to make the test easier to work with. There's a ton of room for improvement in this file, but it would be labor intensive and error-prone, so I went with the dumbest option that could work, so as to avoid transcription errors. Paranoia: $ egrep '^ def test' tests/test-hybridencode.py | wc -l 44 $ egrep '^ def test' tests/test-hybridencode.py | sort | uniq | wc -l so I'm pretty confident there aren't any shadowed test methods. This fixes the test on Python 3. Differential Revision: https://phab.mercurial-scm.org/D3466
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31757
f424fb180fea revlog: use raw content when building delta
Jun Wu <quark@fb.com>
parents: 31756
diff changeset
     1
local test passed
31758
5d11b5edcb0b revlog: use raw revisions in revdiff
Jun Wu <quark@fb.com>
parents: 31757
diff changeset
     2
addgroupcopy test passed
31759
5b93c6fdb391 revlog: use raw revisions in clone
Jun Wu <quark@fb.com>
parents: 31758
diff changeset
     3
clone test passed
31760
ec48d57de110 revlog: make _addrevision only accept rawtext
Jun Wu <quark@fb.com>
parents: 31759
diff changeset
     4
lowlevelcopy test passed