truncate repo