use Result;
use ;
use HashMap;
use fs;
use Path;
// Store information about which branches failed to rebase due to conflicts
// so we don't keep wasting time retrying. It's basically a list of branches
// that failed rebasing due to conflicts, and the hash of the branch.
// We need the user to manually rebase them (which will change the hash).
//
// It's not perfect since if they are just working on that branch without rebasing
// it we will keep retrying the rebase, but it'll do.