Suppress "Push to remote repository?" prompt in TortoiseHg when pushing over SSH
Asked Answered
I

3

7

In TortoiseHg, is it possible to suppress the confirm popup window that appears when pushing to an SSH repository?

It's the popup titled "Confirm Push to remote Repository" with a body text of "Push to remote repository ssh://server/repo?".

While I appreciate the warning, I'd like to disable it at least for some repos or some ssh paths.

Is it possible to disable this confirmation dialog and always allow the push?

enter image description here

Impatient answered 26/10, 2011 at 20:48 Comment(2)
It looks like someone submitted an issue to the tortoisehg devs, though it doesn't look like there's a fix or a workaround at the moment (and the last thread update was 4 days ago).Parentage
Thanks that looks like it, I'll wait a bit longer to see if anyone has any solutions for nowImpatient
G
1

Warning: This is a terrible answer and you shouldn't use it. But lacking a better option, here it is:

It is possible to write an AutoIt script that instantly clicks through this box. This lacks finesse, since it ignores what repo you are trying to push to, but if you just want the box to go away, it mostly does the job.

While 1
    WinWaitActive("Confirm Push to remote Repository")
    Send("y")
Wend
Garrot answered 21/5, 2012 at 18:36 Comment(0)
A
1

This issue has now been resolved by the mercurial developers. See https://bitbucket.org/tortoisehg/thg/issue/190/push-always-wants-confirmation

Ambrosius answered 26/4, 2013 at 12:33 Comment(0)
P
1

In the Synchronize view, click the Options button, and check Allow push of a new branch

enter image description here

Portaltoportal answered 23/3, 2017 at 20:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.