SVN 1.7: status through command line: fix NPE

This commit is contained in:
irengrig
2012-02-01 18:37:32 +04:00
parent 5f1f88c111
commit 61bca32f57
@@ -95,11 +95,12 @@ public class SvnStatusHandler extends DefaultHandler {
}
private void newPending(final Convertor<File, SVNInfo> infoGetter) {
myPending = new PortableStatus();
myPending.setInfoGetter(new Getter<SVNInfo>() {
final PortableStatus status = new PortableStatus();
myPending = status;
status.setInfoGetter(new Getter<SVNInfo>() {
@Override
public SVNInfo get() {
return infoGetter.convert(myPending.getFile());
return infoGetter.convert(status.getFile());
}
});
}