private void ClearChangeSet() { var lcs = ServerOperations.ProcessCommandListChangeSet(new[] { _repoFolder }); if (lcs.Count <= 0) { return; } Console.Write($"Removing {lcs.Count} item(s) from change set. {string.Join(", ", lcs.Cast<ChangeSetItem>())}"); foreach (var _ in lcs) { ServerOperations.ProcessCommandUndoChangeSetItem(0); Console.Write('.'); } Console.WriteLine(); }