opscode-cookbooks/mercurial — pull request #6 by MarkRoddy (2012-12-09 17:39:00+00:00)
Title: Only chmod if the user has supplied a mode

Otherwise existing permissions in the repo are overwritten.

See http://tickets.opscode.com/browse/COOK-2033