[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r888863 - in /subversion/branches/obliterate-like-deltify: ./ subversion/include/ subversion/libsvn_fs/ subversion/libsvn_fs_base/ subversion/libsvn_fs_fs/ subversion/tests/libsvn_fs/

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 09 Dec 2009 18:01:09 +0000

Blair Zajac <blair_at_orcaware.com> writes:

>> +/** Obliterate the text associated with @revision of @a path in @a fs,
>> + * where @a path must be a file. The text is replaced with the text
>> + * of the previous version of the file.
>
> I haven't been following the obliterate discussion closely, but how
> does this work if you just committed the file so there isn't a
> previous version of the file? The documentation should state that
> there, me thinks.

The code has comments about that in svn_fs_base__rep_obliterate. I
think I can construct a delta from an empty file, or perhaps just an
empty fulltext.

-- 
Philip
Received on 2009-12-09 19:01:42 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.