# HG changeset patch # User Matt Mackall # Date 1427487201 18000 # Node ID dded1eeeff645e37ae3b6ea1318e3867fd142e9c # Parent 3df7fc75afc5131866348b3714b8a8e30c9fe7ba 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. diff -r 3df7fc75afc5 -r dded1eeeff64 mercurial/verify.py --- 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)