Commits

Tobias Mueller committed 578bc1a

hg: added support for indicating unknown files

Comments (0)

Files changed (1)

             result->modified = 1;
     }
 
+    if (context->options->show_unknown) {
+        int status = system("hg summary | grep commit | grep unknown > /dev/null");
+        if (WEXITSTATUS(status) == 0)
+            result->unknown = 1;
+    }
 
     update_nodeid(context, result);