Mercurial > hg
view tests/test-revlog-packentry @ 10111:27457d31ae3f
cmdutil: replace sys.maxint with None as default value in loglimit
Semantically, it is better to use None over any other value when there is
"no value". Using maxint in this context is quite hackish, and is not forward
compatible.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Mon, 14 Dec 2009 00:32:29 +0900 |
parents | f87685355c9c |
children |
line wrap: on
line source
#!/bin/sh hg init repo cd repo touch foo hg ci -Am 'add foo' hg up -C null # this should be stored as a delta against rev 0 echo foo bar baz > foo hg ci -Am 'add foo again' hg debugindex .hg/store/data/foo.i