From 3665cc3024dd2e9f288b2313dbd6839c6db04150 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 21 Mar 2017 02:27:20 +0100 Subject: [PATCH] bigint conversion: add compatibility note --- src/borg/item.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/borg/item.pyx b/src/borg/item.pyx index 6404a130d..642b7b264 100644 --- a/src/borg/item.pyx +++ b/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)