Reset branch before committing to it
This commit is contained in:
parent
df047aac4c
commit
ed941cd9e5
2
wp2git.d
2
wp2git.d
|
@ -24,7 +24,7 @@ int main(string[] args)
|
||||||
string xmldata = cast(string) read("history.xml");
|
string xmldata = cast(string) read("history.xml");
|
||||||
auto xml = new XmlDocument(new MemoryStream(xmldata));
|
auto xml = new XmlDocument(new MemoryStream(xmldata));
|
||||||
|
|
||||||
string data;
|
string data = "reset refs/heads/master\n";
|
||||||
foreach (child; xml[0]["page"])
|
foreach (child; xml[0]["page"])
|
||||||
if (child.tag=="revision")
|
if (child.tag=="revision")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue