I have created a new repository for a project and am adding some exisiting code base (llvm) to it. This code base is about 18,000 files which is making the my initial commit take lots of time. (read 5 hours)
Is there a way to split this HUGE commit into several smaller commits? So that it can complete faster?
When seeding a new repository with a large number of files, I highly recommend using an svn import
command from the server instead of committing the files from a remote machine. The easiest way to do this is:
svn import
to seed the repositoryThis will prove to be significantly faster in most cases. Transferring a single large archive over the network is typically much faster than transferring many smaller files, even if you don't take compression into account. The performance difference is significantly larger using Windows. Certain versions of Subversion have a Windows bug that causes each file to open and close a separate network connection, which adds a significant amount of overhead compared to using a single network connection for the entire operation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With