[PATCH] fix for issue 1406

Abderrahim Kitouni a.kitouni at gmail.com
Thu Mar 26 02:38:06 CDT 2009


Hi,

Here is a patch fixing issue1406, where record fails if there are file
modifications and permission changes. I noticed that this happens only
if the file with permission change is the last.

The attached patch fixes this, but I'm not sure this is the best
solution, the problem is that *sometimes* patch.py:iterhunks raises an
error. This issue is triggered if the last file recorded has only
permission changes. I'd like some comments on this.

Regards,
Abderrahim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: issue1406.patch
Type: application/octet-stream
Size: 1841 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090326/6fc46c34/attachment.obj 


More information about the Mercurial-devel mailing list