[PATCH 01 of 13] util: introduce ignoremissing flag to unlinkpath

Kevin Bullock kbullock+mercurial at ringworld.org
Fri Dec 21 13:18:47 CST 2012


On Dec 21, 2012, at 1:06 PM, Mads Kiilerich wrote:

> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1356116414 -3600
> # Node ID b35a5b6dead73e2503c09ca94a57ad912b9d3451
> # Parent  7af9d4303ebe256189afe4628962374f0577f9a6
> util: introduce ignoremissing flag to unlinkpath

Why?

[Apparently to factor out a common 'try: ... except OSError:' pattern. Commit description should say so.]

Code looks good though.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list