Patchwork D6316: automation: do a force push to synchronize

login
register
mail settings
Submitter phabricator
Date May 15, 2019, 3:46 p.m.
Message ID <93bbc04e629a184a8cbabc21c1b39703@localhost.localdomain>
Download mbox | patch
Permalink /patch/40042/
State Not Applicable
Headers show

Comments

phabricator - May 15, 2019, 3:46 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5c242c427897: automation: do a force push to synchronize (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6316?vs=14935&id=15095

REVISION DETAIL
  https://phab.mercurial-scm.org/D6316

AFFECTED FILES
  contrib/automation/hgautomation/windows.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/contrib/automation/hgautomation/windows.py b/contrib/automation/hgautomation/windows.py
--- a/contrib/automation/hgautomation/windows.py
+++ b/contrib/automation/hgautomation/windows.py
@@ -176,7 +176,8 @@ 
             'python2.7', hg_bin,
             '--config', 'ui.ssh=ssh -F %s' % ssh_config,
             '--config', 'ui.remotecmd=c:/hgdev/venv-bootstrap/Scripts/hg.exe',
-            'push', '-r', full_revision, 'ssh://%s/c:/hgdev/src' % public_ip,
+            'push', '-f', '-r', full_revision,
+            'ssh://%s/c:/hgdev/src' % public_ip,
         ]
 
         subprocess.run(args, cwd=str(hg_repo), env=env, check=True)