public bool Commit(IEnumerable <string> assets, string commitMessage = "") { bool commitResult = CreateAssetOperation("commit -m \"" + UnifyLineEndingsChar(ReplaceCommentChar(commitMessage)) + "\"", assets); vcc.ChangeListRemove(assets); return(commitResult); }
public bool Revert(IEnumerable <string> assets) { bool revertSuccess = CreateAssetOperation("revert --depth=infinity", assets); Status(assets, StatusLevel.Previous); bool changeListRemoveSuccess = vcc.ChangeListRemove(assets); bool releaseSuccess = true; if (revertSuccess) { releaseSuccess = vcc.ReleaseLock(assets); } return((revertSuccess && releaseSuccess) || changeListRemoveSuccess); }
public virtual bool ChangeListRemove(IEnumerable <string> assets) { return(vcc.ChangeListRemove(assets)); }
public bool ChangeListRemove(IEnumerable <string> assets) { return(HandleExceptions(() => vcc.ChangeListRemove(assets))); }
public bool ChangeListRemove(IEnumerable <string> assets) { return(HandleExceptions(() => PerformOperation(OperationType.ChangeListRemove, () => vcc.ChangeListRemove(assets)))); }