How is it possible to get list of all files (path/name only) which has been added or modified in a specific revision?
Asked
Active
Viewed 1,762 times
1 Answers
5
You can use SvnClient.Log()
for that. Just make sure that it retrieves only a single revision by specifying a narror revision range like you see in the code below
using (SvnClient client = new SvnClient())
{
client.Log(
reposUri,
new SvnLogArgs {Range = new SvnRevisionRange(9999, 9999)},
(o, e) =>
{
foreach (SvnChangeItem changeItem in e.ChangedPaths)
{
Console.WriteLine(
string.Format(
"{0} {1} {2} {3}",
changeItem.Action,
changeItem.Path,
changeItem.CopyFromRevision,
changeItem.CopyFromPath));
}
});
}

Sander Rijken
- 21,376
- 3
- 61
- 85