comparison tests/test-convert @ 10577:d5bd1beff794 stable

store: only add new entries to the fncache file Newly added fncache entries were not added to the in-memory cache, making it possible for 'hg convert' to cause duplicates in .hg/store/fncache. Duplicates in the fncache file are harmless, but excessive numbers of duplicates from large converted repositories may slow down execution speed considerably.
author Adrian Buehlmann <adrian@cadifra.com>
date Wed, 03 Mar 2010 14:50:35 +0100
parents a7178eccf2dc
children c52057614c72
comparison
equal deleted inserted replaced
10576:7616ff5f3596 10577:d5bd1beff794
54 echo % convert with imaginary source type 54 echo % convert with imaginary source type
55 hg convert --source-type foo a a-foo 55 hg convert --source-type foo a a-foo
56 echo % convert with imaginary sink type 56 echo % convert with imaginary sink type
57 hg convert --dest-type foo a a-foo 57 hg convert --dest-type foo a a-foo
58 58
59 echo
60 echo % "testing: convert must not produce duplicate entries in fncache"
61 hg convert a b
62 echo % "contents of fncache file:"
63 cat b/.hg/store/fncache
64
59 true 65 true