本文整理汇总了C#中SvnClient.GetChangeList方法的典型用法代码示例。如果您正苦于以下问题:C# SvnClient.GetChangeList方法的具体用法?C# SvnClient.GetChangeList怎么用?C# SvnClient.GetChangeList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SvnClient
的用法示例。
在下文中一共展示了SvnClient.GetChangeList方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Rollback
public bool Rollback(string solutionDirectoryPath, RenameContext context)
{
using(SvnClient svnClient = new SvnClient())
{
// TODO NKO Do someting with the changelist
Collection<SvnListChangeListEventArgs> changeList;
svnClient.GetChangeList(solutionDirectoryPath, out changeList);
SvnRevertArgs revertArgs = new SvnRevertArgs { Depth = SvnDepth.Infinity };
svnClient.Revert(solutionDirectoryPath, revertArgs);
}
// Now delete the folder that was created for the new project.
// Note: Can not use svnclient.Delete because the folder and all containing files werent ever checked in.
Directory.Delete(context.NewProject.ProjectDirectory, true);
// And do an update to get a clean repository state again.
UpdateWorkingCopy(solutionDirectoryPath);
return true;
}