Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/DiffHelper.java @ 583:47dfa0ec7e35
Effective revlog patching
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 24 Apr 2013 15:39:53 +0200 |
parents | e55f17a7a195 |
children | 507602cb4fb3 |
comparison
equal
deleted
inserted
replaced
582:90df078d6418 | 583:47dfa0ec7e35 |
---|---|
230 protected void unchanged(int s1From, int s2From, int length) { | 230 protected void unchanged(int s1From, int s2From, int length) { |
231 // NO-OP | 231 // NO-OP |
232 } | 232 } |
233 } | 233 } |
234 | 234 |
235 static class DeltaDumpInspector<T extends ChunkSequence<?>> extends DeltaInspector<T> { | 235 public static class DeltaDumpInspector<T extends ChunkSequence<?>> extends DeltaInspector<T> { |
236 | 236 |
237 @Override | 237 @Override |
238 protected void changed(int s1From, int s1To, int s2From, int s2To) { | 238 protected void changed(int s1From, int s1To, int s2From, int s2To) { |
239 System.out.printf("changed [%d..%d) with [%d..%d)\n", s1From, s1To, s2From, s2To); | 239 System.out.printf("changed [%d..%d) with [%d..%d)\n", s1From, s1To, s2From, s2To); |
240 } | 240 } |