Skip Menu |

This queue is for tickets about the VCS-Lite CPAN distribution.

Report information
The Basics
Id: 3298
Status: resolved
Priority: 0/
Queue: VCS-Lite

People
Owner: Nobody in particular
Requestors: atusi [...] pure.ne.jp
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.04
Fixed in: (no value)



Subject: The implementation of merge method is different from the API in the document.
I used merge method and I found it doesn't work. I read VCS::Lite code and I found a defference between the API and the Implementation. VCS::Lite merge method API is described as following in SYNOPSIS Show quoted text
> # merge > > my $lit4 = $lit->merge($lit->delta($lit2),$lit->delta($lit3)); > print OUTFILE $lit4->text;
in the explanation of merge method Show quoted text
> merge > > my $lit4 = $lit->merge($delt1,$delt2,\&confl);
This explanation is different from the implementation. The arguments of merge is not VCS::Lite::Delta object, but VCS::Lite object. And the third argument(&confl) is not implemented. The following is correct. in SYNOPSIS Show quoted text
> # merge > > my $lit4 = $lit->merge($lit2,$lit3); > print OUTFILE $lit4->text;
in the explanation of merge method Show quoted text
> merge > > my $lit4 = $lit->merge($lit2,$lit3);
Best regards. Kato, Atsushi
I have fixed the documentation in version 0.05