src/utils/change.js
function revertAll(repoState) {
    let workingState = repoState.getCurrentState();

    // Create empty list of changes
    const changes = new Immutable.OrderedMap();

    // Update workingState and repoState
    workingState = workingState.set('changes', changes);
    return RepoUtils.updateCurrentWorkingState(repoState, workingState);
}
function revertAll(repoState) {
    let workingState = repoState.getCurrentState();

    // Create empty list of changes
    const changes = new Immutable.OrderedMap();

    // Update workingState and repoState
    workingState = workingState.set('changes', changes);
    return RepoUtils.updateCurrentWorkingState(repoState, workingState);
}
Revert all changes
@param {RepositoryState}
@return {RepositoryState}