directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: ChangeLog + revert, broken , take 2
Date Tue, 17 Feb 2009 21:41:23 GMT
Alex Karasulu wrote:
> On Tue, Feb 17, 2009 at 12:55 PM, Emmanuel Lecharny <elecharny@apache.org>wrote:
>
>   
>> So now I'm facing an interesting problem.
>>
>> I have a system which revert every modification done on each method,
>> including the LDIF injected within this method, but the current
>> ChangeLog system is cumulative. ie, each time I revert the previou
>> smodification, it does not remove the operation from the log, but it
>> create the reverse operations and store them in the changelog.
>>     
>
>
> Implement clear() and clear( int rev ) methods that clears the log of all
> events and those up to a certain revision respectively.  What do you think?
>   

Good idea. Will do that tomorrow. Maybe a revertAndClear( tag ) method 
could help.

-- 
--
cordialement, regards,
Emmanuel L├ęcharny
www.iktek.com
directory.apache.org



Mime
View raw message