4

I made the mistake about 3 months ago of doing a force push to Mercurial, and somehow, it has remembered that...so whenever I push now, it forces it by default:

% hg --repository C:\Projects\Sonic\DDSF push --force ssh://192.168.52.2:22//hg/DDSF

How do I get rid of this setting and go back to the regular pushes?

My team gets mad at me daily because I'm constantly creating new heads and breaking stuff :(

I've checked my .hgrc file and its not there. I've also re-installed the TortoiseHg client in hopes that it would solve this problem but it hasn't.

4

1 回答 1

9

在 TortoiseHG 中,您可以禁用该设置,如下所示:

  1. 通过菜单View -> Synchronize或单击工具栏中的此按钮进入“同步”屏幕:
    工具栏

  2. 单击提交列表下的“选项”按钮:
    选项按钮

  3. 在选项窗口中,有一个用于“强制推送”设置的复选框:
    强制推送设置


顺便说一句,启用强制后,您应该已经在第二步的“选项”按钮下方看到了这个:
在此处输入图像描述

于 2013-10-07T21:16:07.597 回答