tools - Fix a couple mistakes.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sun, 9 Mar 2014 17:12:00 +0000 (18:12 +0100)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sun, 9 Mar 2014 21:41:26 +0000 (22:41 +0100)
commit8fcb37fc3c7e07c7bcc7958e60cc9c6e95389e48
treeaa1daee7941c15c3dfbc429b96d564035896460e
parent7c1927c9f533d236d9084f2f0969ae850369493e
tools - Fix a couple mistakes.

- Don't write metadata file on dry-run mode for hammer-backup.sh
- Fix a corner case where hammer mirror-read does not find any changes
  and thus provides no endtid. Reused begtid for the metadata file
- Exit and remove the incremental file generated if we can't figure out
  which entid has to be written to the metadata file
tools/tools/hammer-backup/hammer-backup.sh