[prev in list] [next in list] [prev in thread] [next in thread]
List: subversion-dev
Subject: Re: API to get revision size on disk
From: "Julian Foad" <julianfoad () apache ! org>
Date: 2019-04-16 7:06:34
Message-ID: 99d60d76-f19f-4116-ae76-cbb589061939 () www ! fastmail ! com
[Download RAW message or body]
I have committed an implementation in http://svn.apache.org/r1857624 , using Evgeny's new libsvn_fs ioctl API.
It is feature-complete (old and new FSFS formats, revs and revprops, packed and unpacked.
The CLI is:
$ svnadmin rev-size /path/to/repo -r1
1337 bytes in revision 1
plus a 'quiet' option.
There are a couple of opportunities for optimization marked in the code:
1. for the size of an unpacked rev-file, we unnecessarily read the indexes
2. for the size of packed revprops, we unnecessarily read the props
--
- Julian
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic