This commit is contained in:
Vladimir Panteleev 2010-06-16 02:10:33 +03:00
parent 1933c5e38d
commit 690409954c
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ int main(string[] args)
fwritefln(stderr, "Loading history...");
string xmldata = cast(string) read("history.xml");
std.file.remove("history.xml");
auto xml = new XmlDocument(new MemoryStream(xmldata));
string data = "reset refs/heads/master\n";
@ -50,6 +51,7 @@ int main(string[] args)
system("git init");
system("git fast-import --date-format=rfc2822 < fast-import-data");
std.file.remove("fast-import-data");
system("git reset --hard");
return 0;