Alexander Larsson
d0e74cf3af
Fix pruning of partial commits
...
If we have a partial commit it is not an error for a dirmeta to be
missing (in fact, that is likely), so instead of returning a not-found
error from ostree_repo_traverse_commit() we ignore the error and
continue.
In particular, this means we don't stop early at the first
missing dirmeta, which previously caused ostree_repo_prune() to
thing the dirmetas after that to be unreached and thus purged.
Also, we remove the special casing in ostree_repo_prune() to
not report errors for commitpartial, because these should not
be reported anymore.
This fixes https://github.com/ostreedev/ostree/issues/541
Closes : #542
Approved by: cgwalters
2016-10-24 17:48:19 +00:00
..
2015-03-19 12:43:04 -04:00
2016-03-03 08:50:19 -05:00
2015-08-26 12:16:29 -07:00
2016-08-27 13:11:22 +00:00
2016-01-27 11:44:10 -05:00
2016-09-08 13:35:59 +00:00
2016-04-04 14:19:35 +00:00
2016-08-05 23:58:19 +00:00
2016-08-05 23:58:19 +00:00
2016-08-09 15:36:09 +00:00
2014-10-22 20:02:06 +02:00
2016-07-28 10:10:17 +00:00
2015-05-28 14:21:30 -04:00
2016-06-27 20:20:21 +00:00
2016-06-07 15:58:37 +00:00
2016-08-31 16:52:12 +00:00
2016-04-04 14:19:35 +00:00
2016-06-09 21:10:35 +00:00
2016-02-26 08:19:01 -05:00
2016-02-26 08:19:01 -05:00
2016-07-25 06:50:51 +00:00
2016-06-17 14:43:44 +00:00
2016-03-03 08:50:19 -05:00
2016-05-02 18:44:44 +00:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-08-27 13:11:22 +00:00
2016-07-11 16:46:07 +00:00
2016-03-03 08:50:19 -05:00
2016-08-27 13:11:22 +00:00
2016-08-27 13:11:22 +00:00
2016-07-11 16:46:07 +00:00
2016-03-31 14:22:06 +00:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-31 18:54:13 +00:00
2016-06-27 20:20:21 +00:00
2016-05-26 16:53:08 +00:00
2016-03-31 14:22:06 +00:00
2016-03-03 08:50:19 -05:00
2015-05-06 22:07:11 -04:00
2016-09-09 19:06:11 +00:00
2016-08-31 16:52:12 +00:00
2013-09-18 16:34:57 -04:00
2016-01-27 11:44:10 -05:00
2016-09-09 19:06:11 +00:00
2016-04-07 12:25:24 +00:00
2016-04-19 12:28:06 +00:00
2016-08-31 16:52:12 +00:00
2016-08-09 15:36:09 +00:00
2016-01-27 11:44:10 -05:00
2015-05-06 22:07:11 -04:00
2016-06-26 21:15:36 +00:00
2016-05-06 14:44:55 +00:00
2016-01-27 11:44:10 -05:00
2016-08-10 10:54:46 +00:00
2015-10-13 15:24:09 +02:00
2015-05-06 22:07:11 -04:00
2016-03-03 08:50:19 -05:00
2015-05-06 22:07:11 -04:00
2015-05-06 22:07:11 -04:00
2015-05-06 22:07:11 -04:00
2016-04-25 20:46:11 +00:00
2016-08-25 20:01:37 +00:00
2016-03-31 18:54:13 +00:00
2016-06-07 15:58:37 +00:00
2016-01-27 11:44:10 -05:00
2016-08-31 16:52:12 +00:00
2016-03-03 18:00:54 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-08-31 16:52:12 +00:00
2016-08-31 16:52:12 +00:00
2016-04-22 14:27:06 +00:00
2016-07-08 18:38:11 +00:00
2016-01-27 11:44:10 -05:00
2016-10-24 17:48:19 +00:00
2016-08-31 16:52:12 +00:00
2016-03-31 14:22:06 +00:00
2016-06-23 19:52:26 +00:00
2016-03-03 08:50:19 -05:00
2016-03-31 18:43:31 +00:00
2016-03-03 08:50:19 -05:00
2016-01-27 11:44:10 -05:00
2016-08-16 21:22:28 +00:00
2015-08-24 11:07:36 +02:00
2015-08-25 09:27:56 -04:00
2013-10-19 11:56:51 -04:00
2016-09-01 20:17:58 +00:00
2016-04-17 13:52:07 +00:00
2016-03-03 21:56:23 -05:00
2016-08-09 19:01:35 +00:00
2015-05-06 22:07:11 -04:00
2016-03-31 18:54:13 +00:00