Mercurial > hg
comparison mercurial/changelog.py @ 11790:ba9957bcfb7c
store: skip decodir check if path does not contain '.hg/'
The three replace calls are slower than this simple __contains__,
and anyway we should not have this many paths ending with .i, .d, or .hg
compared to the normal, un-encoded other paths.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Thu, 12 Aug 2010 16:45:47 +0900 |
parents | 41d0ed2c79df |
children | 97ed99d1f419 bd23d5f28bbb |
comparison
equal
deleted
inserted
replaced
11789:e2bce1c717fa | 11790:ba9957bcfb7c |
---|