Can't Import Existing Mercurial Repository after upgrade

Previously we were using a really old version of SCM Manager. After installing 3.5, I’m not able to import the old existing Mercurial repositories. When I try to import from dump without metadata on a .hg.tar.gz, the import fails and I get the following in the import log:

“Failed to import from bundle”

Configuration:
SCM Manager 3.5.0
Windows Server 2012
Java JDK-22

Any help would be greatly appreciated!

Ben

Hi @bens thank you for your post. We will have a look at it

1 Like

Hey @bens , could you tell us on what version you’ve created the export? And could you take a look inside the tar file? You should find a .hg directory there containing the data. Is that the case?

Hi @pfeuffer, our old version randomly had issues and all of the repositories disappeared from within SCM Manager. This was the reason we ended up trying the newest version. The repositories that I’m trying to import are just the directories that existed on disk and were never exported. I used 7 zip to tar and then gz the directory to try and get it into the desired compression. If I look inside of the .hg.tar.gz file I see the .hg.tar file. I’m guessing the way I’m compressing the file in two steps is an issue?