title: SvnClient.GetStatus(path, args, statuses) returning 0 for versioned file?
body: <p>I have written a simple C# app using SharpSVN to query the status of a file prior to attempting an add. The examples I've seen in various places for this very purpose involve calling the GetStatus method of the SvnClient, passing in the full path and an out parameter to a collection of SvnStatusEventArgs.</p>
  
  <p>My understanding is that, for a file, GetStatus should return with an SvnStatusEventArgs collection having a count of exactly one, with a status among NotVersioned, Missing, Normal, and so on.</p>
  
  <p>In my application, my call to GetStatus to a file under source control returns a Collection count of <em>zero</em>. </p>
  
  <pre><code>        SvnClient foo = new SvnClient();
          Collection&lt;SvnStatusEventArgs&gt; statuses;
          foo.GetStatus("C:\\Temp\\svnu\\Program.cs", new SvnStatusArgs {Depth = SvnDepth.Empty}, out statuses);
  </code></pre>
  
  <p>The value of statuses.Count is zero, when I am expecting 1 with a statuses[0].LocalContentStatus value of Normal. Is this expectation incorrect? For a call to a path referencing a file <em>not</em> in source control, the call works with a status[0].LocalContentStatus value of NotVersioned.</p>
  
  <p>The path is verified to be a working copy, and the file Program.cs is, in fact, enlisted in Subversion. I'm running SharpSVN version 1.7005.2163.13448 and VS2010. </p>
  
  <p>Many thanks in advance for clearing up my obvious confusion.</p>
  
  <p><strong>EDIT</strong> Some more info: After modifying, but not committing, Program.cs, this same code snippet now returns a single status value with LocalContentStatus of "Modified." After committing the file, the original behavior (no returned status value) returned. </p>