fixing sorting and improving dramatically restore diff backup:
authorEduardo Robles Elvira <edulix@wadobo.com>
Thu, 19 Sep 2013 15:37:40 +0000 (17:37 +0200)
committerEduardo Robles Elvira <edulix@wadobo.com>
Thu, 19 Sep 2013 15:37:40 +0000 (17:37 +0200)
commit670f9934bff4ebc1cd9212a50e0db34d47a8c6cb
tree4ff7a2e13b14f3b1fb782c84dd10f19980baef04
parentfc8fdcbcbb19af17f2861fcb8398c9a9143cb3ac
fixing sorting and improving dramatically restore diff backup:

* sorting was not correct because the directory separator was being taken
  into account as part of the sorting, and thus if a directory contained
  a character like '-' it would affect sorting when compared with '/'.
  Now we sort directory by directory in a path, so the dir separator is
  not sorted itself.

* diffs backups where very slow because we were using a very simple
  algorithm that was also very slow, were for each file we would reopen
  and go across the index until found. Now we go across the index only
  once in the whole restore operation, so the speed of restoring a
  backup has increased dramatically.
deltatar/deltatar.py