As you probably know Mercurial has some nasty problems with large files, even worst when those files are binary. In ConfORM I’m using Mercurial and, as you know, ConfORM work with NHibernate’s trunk. I have to update the Lib folder quite often and I don’t want to find a “workaround” to the Mercurial’s “problem”.
The short storyThe story begin fixing NH-2230. After that I have compiled and then actualized ConfORM external libraries and committed in my clone. Then I was working in my clone committing some changes to support the NHibernate new improvement… everything nice and fast.
Before begin the implementation of a new default-pattern-applier I have decided to push all changes to the public repository.
Ok it is easy… only a “push”… the push seems working… working… working… working… working… 30 minutes and still working… working… working…
Ok, my friend!! I suspect you're stuck.
The solutionAfter Googling and Googling, and mail, and chats, I have found information about PDF (see this wiki).
The solution for .NET projects is add the follows lines to your .hg\hgrc
**.dll = internal:local
**.exe = internal:local
**.pdb = internal:local
The push, before ask you the user&password and after the input of the password, will take a while (few minutes) but at least it work as expected.
UPDATE: The problem was not Mercurial but the push in GoogleCode.
What was the actual problem? How does adding these lines fix it?ReplyDelete
What you think ? more than 30 minutes without achieve a push is not a problem ?ReplyDelete
Mercurial, by default, tries a merge of binary files. With that configuration Mercurial will replace the file instead try a merge/diff.
Had pushing doc, odt and pdf documents to mercurial repo, but never experienced this problemReplyDelete