1) Export a new db dump
2) Run import, DB dump then local.sql.
However if after you export, you then save local.sql with some change. When you go to import, it will think local.sql is the most recent file to import, and it'll import it twice.
This fixes that by calculating most recent as the last modified file not named local.sql.
Currently, if you:
1) Export a new db dump 2) Run import, DB dump then local.sql.
However if after you export, you then save local.sql with some change. When you go to import, it will think local.sql is the most recent file to import, and it'll import it twice.
This fixes that by calculating most recent as the last modified file not named local.sql.
closes #278