Tag: post commit

SharpSVN使用’SvnLookClient’获得post-commit-hook

我正在试图弄清楚如何获取特定修订的提交消息。 看起来SvnLookClient可能就是我需要的东西 我在SO上发现了一些看起来像我需要的代码,但我似乎错过了一些东西…… 我找到的代码(在这里): using (SvnLookClient cl = new SvnLookClient()) { SvnChangeInfoEventArgs ci; //******what is lookorigin? do I pass the revision here?? cl.GetChangeInfo(ha.LookOrigin, out ci); // ci contains information on the commit eg Console.WriteLine(ci.LogMessage); // Has log message foreach (SvnChangeItem i in ci.ChangedPaths) { } }