The results suggest that habitat age and past connectivity are important determinants of distribution of genetic diversity between populations at a scale of a few kilometres. Landscape history may significantly contribute to our understanding of distribution of current genetic structure within species and the genetic structure may be used to better understand landscape history, even at a small scale.