public IBodyFile Show(string revision, string filePath) //[+-] { //TODO using (var blame = hg.Blame(revision, filePath)) { return(HgBodyFile.Parse(blame)); } }
public static HgBodyFile Parse(Stream fileData) { TextReader reader = new StreamReader(fileData); HgBodyFile bodyFile = new HgBodyFile(); string line; while ((line = reader.ReadLine()) != null) { bodyFile.Add(line); } return(bodyFile); }