static List <Branch> GetQueuedBranches(string filePath)
        {
            List <Branch> result = new List <Branch>();

            try
            {
                if (!File.Exists(filePath))
                {
                    return(result);
                }

                foreach (string line in File.ReadAllLines(filePath))
                {
                    Branch branch;
                    if (!BranchParser.TryParse(line, out branch))
                    {
                        mLog.ErrorFormat("Malformed line while reading branches file: {0}", line);
                        continue;
                    }
                    result.Add(branch);
                }
            }
            catch (Exception ex)
            {
                LogException("Error reading the queued branches to '{0}': {1}", ex, filePath);
            }

            return(result);
        }