Hold import lock longer to fix an import race

Closed Bitbucket Importer requested to merge bitbucket/declined-pr-44 into branch/default

Created originally on Bitbucket by dripton (David Ripton)

Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.

See issue 1087

This might be a performance hit. I haven't translated it yet so I'm not sure. But nobody should be importing inside loops anyway...

Merge request reports