Mercurial > hg
view tests/test-revlog-group-emptyiter @ 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 | aaaf4af1c173 |
children |
line wrap: on
line source
#! /bin/sh # issue 1678 echo "# -- setting up base repo" hg init a cd a touch a hg ci -Am a cd .. echo "# -- cloning base repo" hg clone a b cd b echo "# -- setting up cset to push" hg up null touch a hg ci -Am b # different msg so we get a clog new entry echo "# -- pushing" hg push -f ../a