Checkout resets to remote branch and DeletesPRList

This commit is contained in:
Cyberboss
2017-11-11 22:13:07 -05:00
parent ac10d0865c
commit 595b39e77d
@@ -521,6 +521,11 @@ namespace TGServerService
else if (result != null)
return result;
}
//if this is a tracked branch, we need to reset to remote first and delete the PR list
ResetNoLock(Repo.Head.TrackedBranch ?? Repo.Head);
DeletePRList();
var Opts = new CheckoutOptions()
{
CheckoutModifiers = CheckoutModifiers.Force,