Stefan Sperling wrote on Sun, 15 Nov 2009 at 17:37 +0100:
> On Sat, Nov 14, 2009 at 11:09:44AM +1100, Gavin Baumanis wrote:
> > #4 0x00000001001e94ae in representation_string (rep=0x1008858b8, format=4, mutable_rep_truncated=1, pool=0x100883e28) at subversion/libsvn_fs_fs/fs_fs.c:2163
> > 2163 return apr_psprintf(pool, "%ld %" APR_OFF_T_FMT " %" SVN_FILESIZE_T_FMT
> > (gdb) p *rep
> > $1 = {
> > md5_checksum = 0x1008858f8,
> > sha1_checksum = 0x0,
> > revision = 0,
> > offset = 0,
> > size = 4,
> > expanded_size = 4,
> > txn_id = 0x0,
> > uniquifier = 0x0
>
> The uniquifier is allowed to be NULL, but I don't know under which
> conditions (the API docs don't say, I haven't checked the code yet).
Don't know.
> I don't know about the sha1 checksum, is this allowed to be NULL?
>
Yes, for backward compatibility. The sha1 is only present in newer
revisions.
> Stefan
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2418169
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2418207
Received on 2009-11-15 21:34:23 CET