tests/test-issue2137
branchstable
changeset 10917 bce47e253b61
parent 10914 b7ca37b90762
child 11072 6bbe4886740e
--- a/tests/test-issue2137	Thu Apr 15 15:21:21 2010 +0200
+++ b/tests/test-issue2137	Thu Apr 15 15:21:41 2010 +0200
@@ -22,8 +22,8 @@
     extensions.wrapfunction(repo, 'commit', wrapcommit)
 
 def extsetup(ui):
-    revlog._maxinline = 128             # split out 00changelog.d early
-    revlog._prereadsize = 128           # use revlog.lazyparser
+    revlog._maxinline = 8             # split out 00changelog.d early
+    revlog._prereadsize = 8           # use revlog.lazyparser
 EOF
 
 cat >> $HGRCPATH <<EOF
@@ -31,20 +31,11 @@
 commitwrapper = $PWD/commitwrapper.py
 EOF
 
-# use a long username to make sure the changelog is bigger than 128 bytes
-export HGUSER='test test test test test test test test test test test'
-
 hg init repo1
 cd repo1
 echo a > a
 hg commit -A -m'add a with a long commit message to make the changelog a bit bigger'
 
-# This commit puts 00changelog.i over the 128-byte threshold to split
-# out 00changelog.d, which is a precondition for reproducing the bug
-# with the next commit.
-echo b > b
-hg commit -A -m'add b and ramble on a bit here too for the same reason'
-
 echo ""
 echo "% test that new changesets are visible to repo.lookup()"
 echo a >> a