c# - SharpSVN and new/modified files in a revision -
how possible list of files (path/name only) has been added or modified in specific revision?
you can use svnclient.log() that. make sure retrieves single revision specifying narror revision range see in 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)); } }); }
Comments
Post a Comment