verify: add a note about a paleo-bug
In the very early days of hg, it was possible to commit /dev/null because our
patch importer was too simple. Repos from this era may still
exist, add a note about why we ignore this name.
--- a/mercurial/verify.py Fri Mar 27 13:51:21 2015 -0500
+++ b/mercurial/verify.py Fri Mar 27 15:13:21 2015 -0500
@@ -169,7 +169,7 @@
for f, fn in mf.readdelta(n).iteritems():
if not f:
err(lr, _("file without name in manifest"))
- elif f != "/dev/null":
+ elif f != "/dev/null": # ignore this in very old repos
filenodes.setdefault(_normpath(f), {}).setdefault(fn, lr)
except Exception, inst:
exc(lr, _("reading manifest delta %s") % short(n), inst)