[issue991] convert hg -> hg is slow even if including only one small subdir

Jesse Glick mercurial-bugs at selenic.com
Fri Feb 15 15:56:10 CST 2008


New submission from Jesse Glick <jesse.glick at sun.com>:

I have a repository with tens of thousands of files and around 60k changesets. I
want to extract the history of one subdir with a couple dozen files in it
(affected by maybe 100 changesets) into a separate repository so I can import it
into a different repository. So I run hg convert --filemap with a line 'include
sub/dir'. Even though there are only a handful of changesets which actually
affected this subdir, which e.g. hg log could find in a few seconds, the convert
process takes hours running through every changeset in the repository (and
ignoring almost all of them).

----------
messages: 5298
nosy: jglick
priority: bug
status: unread
title: convert hg -> hg is slow even if including only one small subdir
topic: convert, performance

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue991>
____________________________________________________



More information about the Mercurial-devel mailing list