# # patch "git_export.cc" # from [971dc2e7ff66a0d7cde5a6ad04fa7564249ae83d] # to [f2ea7c4e976be2e6ee857643ae941936d597ab53] # ======================================================================== --- git_export.cc 971dc2e7ff66a0d7cde5a6ad04fa7564249ae83d +++ git_export.cc f2ea7c4e976be2e6ee857643ae941936d597ab53 @@ -536,6 +536,7 @@ app.db.ensure_open(); set filter; + toposort_filter filtertype = topo_all; if (file_exists(headpath)) { ifstream file(headpath.as_external().c_str(), ios_base::in); @@ -547,6 +548,7 @@ set ancestry; get_gitrev_ancestry(gitrev, ancestry); add_gitrevs_descendants(git, app, filter, ancestry); + filtertype = topo_include; try { @@ -561,7 +563,7 @@ vector revlist; revlist.clear(); // fill revlist with all the revisions, toposorted - toposort(filter, revlist, app, topo_include); + toposort(filter, revlist, app, filtertype); //reverse(revlist.begin(), revlist.end()); for (vector::const_iterator i = revlist.begin();