Created
April 22, 2010 12:36
-
-
Save robertpi/375162 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// scrip for finding problem "svn: Attempt to add tree conflict that already exists" | |
open System.IO | |
let logLines = | |
File.ReadAllLines @"C:\USERS\Visual Studio 2008\Projects\FindDup\FindDup\svnlog.txt" | |
|> Seq.filter (fun x -> x.StartsWith("Tree conflict:")) | |
|> Seq.groupBy (fun x -> x) | |
|> Seq.map (fun (key, vals) -> key, Seq.length vals) | |
|> Seq.filter (fun (_, count) -> count > 1) | |
Seq.iter (printfn "%A") logLines |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment