tests/test-hgrc.out
author Martin Geisler <mg@lazybytes.net>
Wed, 20 May 2009 00:52:46 +0200
changeset 8527 f9a80054dd3c
parent 8397 613ac2856535
child 9470 ba75830d17a9
permissions -rw-r--r--
use 'x is None' instead of 'x == None' The built-in None object is a singleton and it is therefore safe to compare memory addresses with is. It is also faster, how much depends on the object being compared. For a simple type like str I get: | s = "foo" | s = None ----------+-----------+---------- s == None | 0.25 usec | 0.21 usec s is None | 0.17 usec | 0.17 usec
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8144
fca54469480e ui: introduce new config parser
Matt Mackall <mpm@selenic.com>
parents: 7044
diff changeset
     1
hg: config error at .../t/.hg/hgrc:1: 'invalid'
7044
e51c0f41f271 Escape '%' when writing to hgrc (issue1199)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1474
diff changeset
     2
updating working directory
e51c0f41f271 Escape '%' when writing to hgrc (issue1199)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1474
diff changeset
     3
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
e51c0f41f271 Escape '%' when writing to hgrc (issue1199)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1474
diff changeset
     4
[paths]
8179
0f3b8404051b clone: config escaping no longer needed
Matt Mackall <mpm@selenic.com>
parents: 8144
diff changeset
     5
default = .../foo%bar
0f3b8404051b clone: config escaping no longer needed
Matt Mackall <mpm@selenic.com>
parents: 8144
diff changeset
     6
default = .../foo%bar
7044
e51c0f41f271 Escape '%' when writing to hgrc (issue1199)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1474
diff changeset
     7
bundle.mainreporoot=.../foobar
e51c0f41f271 Escape '%' when writing to hgrc (issue1199)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1474
diff changeset
     8
defaults.backout=-d "0 0"
e51c0f41f271 Escape '%' when writing to hgrc (issue1199)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1474
diff changeset
     9
defaults.commit=-d "0 0"
e51c0f41f271 Escape '%' when writing to hgrc (issue1199)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1474
diff changeset
    10
defaults.tag=-d "0 0"
8179
0f3b8404051b clone: config escaping no longer needed
Matt Mackall <mpm@selenic.com>
parents: 8144
diff changeset
    11
paths.default=.../foo%bar
7044
e51c0f41f271 Escape '%' when writing to hgrc (issue1199)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1474
diff changeset
    12
ui.slash=True