title: How to print modifications in repository, using SharpSVN DLL in PowerShell?
body: <p>I am using SharpSvn DLL in PowerShell. I've got as far as updating the working local copy, but how to print the modification in the command line, the way the <code>svn update</code> command works?</p>
  
  <p><a href="https://i.stack.imgur.com/vTsp2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vTsp2.jpg" alt="svn update command output"></a></p>
  
  <pre class="lang-bsh prettyprint-override"><code>$es = New-Object 'System.Collections.Generic.Dictionary[string [SharpSvn.SvnUpdateResult]]
  $result = New-Object -TypeName SharpSvn.SvnUpdateResult -ArgumentList $es, 0
  
  $svnClient = New-Object SharpSvn.SvnClient
  [boolean] $stat = $svnClient.Update([string]$localDir, [ref]$result)
  if ($stat -eq "True") {
      Write-Host " ..Done" -ForegroundColor Green
      if ($result.HasRevision) {
          Write-Host -NoNewLine ' Revision: '
          Write-Host $result.Revision
      }
  </code></pre>
  
  <p>There is a piece of code which I found online, but it didn't helped.</p>
  
  <pre class="lang-cs prettyprint-override"><code>SvnUpdateArgs ua = new SvnUpdateArgs();
  ua.Notify += delegate(object sender, SvnNotifyEventArgs e)
          {
              Console.Write(e.Action);
              Console.WriteLine(e.FullPath);
          };
  ua = New-Object SharpSvn.SvnUpdateArgs();
  </code></pre>