We've been attempting to port our existing repository from a different source control provider (one not supported by the importer) into Kiln. Since our current source control provider is not compatible with the importer, we're using a simple filesystem based import. Our repository is somewhere around 2.5GB and a few of the files are around 150MB. Everything we've tried so far has yielded an error for attempting to import our repository.
Kiln Repository Import
The first problem we ran into when using the Kiln Repository Import was issues with the lengths of some of our paths. The message from the log file reads as follows:
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. at KilnImport.Model.ImportRunner.PerformImport(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Not too big a deal there, though. We removed the items that were causing problems due to lengths file / folder names. On the next attempt (with the long paths removed), we received an error message "An error has occurred. Please see the log file for details," but there is no link to any log file and we are uncertain as to where the log file could be found.
TortoiseHg
When pushing a changeset that contains a set of files that is large in size (in terms of disk space, not quantity), TortoiseHg will yield this error:
pushing to https://idstream.kilnhg.com/Repo/Repositories/Group/idstream searching for changes searching for changes 1 changesets found need more than 1 value to unpack [command interrupted]
I've also tried this using the 64-bit version of TortoiseHg with the same result:
% hg --repository C:\source\kiln push --debug https://idstream.kilnhg.com/Repo/Repositories/Group/idstream pushing to https://idstream.kilnhg.com/Repo/Repositories/Group/idstream using https://idstream.kilnhg.com/Repo/Repositories/Group/idstream sending between command using auth.kiln.* for authentication idstream.kilnhg.com certificate successfully verified sending capabilities command using auth.kiln.* for authentication capabilities: changegroupsubset stream lookup pushkey unbundle=HG10GZ,HG10BZ,HG10UN branchmap sending heads command using auth.kiln.* for authentication searching for changes common changesets up to 5a0b3f6fde47 sending heads command using auth.kiln.* for authentication searching for changes common changesets up to 5a0b3f6fde47 sending branchmap command using auth.kiln.* for authentication 1 changesets found list of changesets: d8fb93267d836977e99f628b2379bd2ac072276c sending unbundle command sending 247226943 bytes using auth.kiln.* for authentication idstream.kilnhg.com certificate successfully verified need more than 1 value to unpack [command returned code 255 Thu Apr 28 11:50:11 2011]2011]
Command Line Hg
When running a push from the command line, using the --chunked option we got a "500 Internal Server Error" response:
pushing to https://idstream.kilnhg.com/Repo/Repositories/Group/idstream searching for changes searching for changes 1 changesets found searching for changes searching for changes 1 changesets found interrupted!
C:\source\kiln>hg push -v --chunked https://idstream.kilnhg.com/Repo/Repositories/Group/idstream pushing to https://idstream.kilnhg.com/Repo/Repositories/Group/idstream searching for changes searching for changes 1 changesets found searching for changes searching for changes 1 changesets found abort: 'https://idstream.kilnhg.com/Repo/Repositories/Group/idstream' does not appear to be an hg repository: ---%<--- (text/html) 500 Internal Server Error
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in th ication.
Any idea on how to go about getting this large dataset started in a repository?