Added mergeDownRevisions function.