Hi Mike, hi Keshav On 18 Jun., 00:00, Mike Hansen <mhan...@gmail.com> wrote: > On Fri, Jun 17, 2011 at 2:55 PM, Keshav Kini <keshav.k...@gmail.com> wrote: > > I asked some guys in #mercurial and they said they'd never heard of > > repository corruption from empty files or mercurial not being able to commit > > empty files. What's the reason for these comments? Or are they just FUD? :) > > I believe patch is the program that has a problem with empty files. > Thus, if you're using mercurial queues, you want to have something in > __init__.py. >
Recently I had exactly the same problem: My __init__.py file was empty, and the new empty file had not been included in my patch, so that people could not successfully apply it. I was told that I had to put the lines [diff] git=1 into my .hgrc file. Indeed, after this change, empty files were no problem. Cheers, Simon -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org