hg: remove some debug output
This commit is contained in:
parent
d5ec6472fd
commit
4e6fc33e3f
|
@ -51,7 +51,7 @@ namespace SparkleLib {
|
|||
SparkleHg hg = new SparkleHg (LocalPath, "log -r : --limit 1 --template \"{node}\"");
|
||||
hg.Start ();
|
||||
hg.WaitForExit ();
|
||||
Console.WriteLine ("Identifier" + hg.StandardOutput.ReadToEnd ());
|
||||
|
||||
return hg.StandardOutput.ReadToEnd ();
|
||||
}
|
||||
}
|
||||
|
@ -63,10 +63,8 @@ namespace SparkleLib {
|
|||
hg.Start ();
|
||||
hg.WaitForExit ();
|
||||
|
||||
string hash = hg.StandardOutput.ReadToEnd ().Trim ();
|
||||
Console.WriteLine ("CurrentRevision" + hg.StandardOutput.ReadToEnd ());
|
||||
if (hash.Length > 0)
|
||||
return hash;
|
||||
return hg.StandardOutput.ReadToEnd ().Trim ();
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue