Beispiel #1
0
 protected override void Run()
 {
     Log(GettextCatalog.GetString("Getting text of {0} at revision {1}...", revPath, revision.GetPrevious()));
     try {
         text1 = vc.GetTextAtRevision(revPath, revision.GetPrevious());
     } catch {
         // If the file was added in this revision, no previous
         // text exists.
         text1 = String.Empty;
     }
     Log(GettextCatalog.GetString("Getting text of {0} at revision {1}...", revPath, revision));
     text2 = vc.GetTextAtRevision(revPath, revision);
 }
Beispiel #2
0
 protected override void Run()
 {
     DiffInfo[] diffs = repo.PathDiff(path, revision.GetPrevious(), revision);
     patch = repo.CreatePatch(diffs);
 }