do not try to merge stubs if version changed: take two

This commit is contained in:
Dmitry Avdeev
2013-11-21 11:50:34 +04:00
parent 7974766478
commit 9c664ac8d4
9 changed files with 62 additions and 34 deletions
@@ -33,7 +33,7 @@ public class StringIndex {
}
public void update(final String path, @Nullable String content, @Nullable String oldContent) throws StorageException {
myIndex.update(path.hashCode(), toInput(path, content)).compute();
myIndex.update(path.hashCode(), toInput(path, content), true).compute();
}
@Nullable