public void DownloadPack(ProgressMonitor monitor) { Stream s = _connection.open("pack/" + PackName); IndexPack ip = IndexPack.Create(_local, s); ip.setFixThin(false); ip.setObjectChecker(_objCheck); ip.index(monitor); PackLock keep = ip.renameAndOpenPack(_lockMessage); if (keep != null) { _packLocks.Add(keep); } }