Changeset 26cc37723f8a…
Parent 97388276e8cf…
by
Changes to one file · Browse files at 26cc37723f8a Showing diff from parent 97388276e8cf Diff from another changeset...
@@ -276,6 +276,7 @@
bool added = false;
bool modified = false;
+ bool empty = true;
size_t rootlen = strlen(hgroot);
size_t len = strlen(relpathloc);
@@ -286,6 +287,8 @@
if (0 != strncmp(relpathloc, e.name.c_str(), len))
continue;
+
+ empty = false;
switch (e.state)
{
@@ -312,6 +315,8 @@ *outStatus = 'M';
else if (added)
*outStatus = 'A';
+ else if (empty)
+ *outStatus = '?';
else
*outStatus = 'C';
|
Loading...