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}\"");
|
SparkleHg hg = new SparkleHg (LocalPath, "log -r : --limit 1 --template \"{node}\"");
|
||||||
hg.Start ();
|
hg.Start ();
|
||||||
hg.WaitForExit ();
|
hg.WaitForExit ();
|
||||||
Console.WriteLine ("Identifier" + hg.StandardOutput.ReadToEnd ());
|
|
||||||
return hg.StandardOutput.ReadToEnd ();
|
return hg.StandardOutput.ReadToEnd ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -63,10 +63,8 @@ namespace SparkleLib {
|
||||||
hg.Start ();
|
hg.Start ();
|
||||||
hg.WaitForExit ();
|
hg.WaitForExit ();
|
||||||
|
|
||||||
string hash = hg.StandardOutput.ReadToEnd ().Trim ();
|
|
||||||
Console.WriteLine ("CurrentRevision" + hg.StandardOutput.ReadToEnd ());
|
|
||||||
if (hash.Length > 0)
|
if (hash.Length > 0)
|
||||||
return hash;
|
return hg.StandardOutput.ReadToEnd ().Trim ();
|
||||||
else
|
else
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue