浏览代码

bigint conversion: add compatibility note

Thomas Waldmann 8 年之前
父节点
当前提交
3665cc3024
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/borg/item.pyx

+ 1 - 0
src/borg/item.pyx

@@ -157,6 +157,7 @@ class Item(PropDict):
     rdev = PropDict._make_property('rdev', int)
     bsdflags = PropDict._make_property('bsdflags', int)
 
+    # note: we need to keep the bigint conversion for compatibility with borg 1.0 archives.
     atime = PropDict._make_property('atime', int, 'bigint', encode=int_to_bigint, decode=bigint_to_int)
     ctime = PropDict._make_property('ctime', int, 'bigint', encode=int_to_bigint, decode=bigint_to_int)
     mtime = PropDict._make_property('mtime', int, 'bigint', encode=int_to_bigint, decode=bigint_to_int)