我有以下代码,并且希望在合并时忽略空格更改:
string folder2 = @"c:\folder";
Uri uri2 = new Uri("http://repo/branch");
ICollection<SvnRevisionRange> mergeRevisions = new Collection<SvnRevisionRange>();
SvnRevisionRange revRange = new SvnRevisionRange(2, 3);
mergeRevisions.Add(revRange);
var mergeArgs = new SvnMergeArgs();
client.Merge(folder2, uri2, mergeRevisions, mergeArgs);
答案 0 :(得分:1)
多亏了royalTS的评论,我发现以下方法效果很好:
mergeArgs.MergeArguments.Add("-b");
或
mergeArgs.MergeArguments.Add("-w");