diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py --- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -1900,11 +1900,11 @@ def handlecheckbookmarks(op, inpart): """ bookdata = bookmarks.binarydecode(inpart) - msgstandard = ('repository changed while pushing - please try again ' + msgstandard = ('remote repository changed while pushing - please try again ' '(bookmark "%s" move from %s to %s)') - msgmissing = ('repository changed while pushing - please try again ' + msgmissing = ('remote repository changed while pushing - please try again ' '(bookmark "%s" is missing, expected %s)') - msgexist = ('repository changed while pushing - please try again ' + msgexist = ('remote repository changed while pushing - please try again ' '(bookmark "%s" set on %s, expected missing)') for book, node in bookdata: currentnode = op.repo._bookmarks.get(book) @@ -1934,7 +1934,7 @@ def handlecheckheads(op, inpart): if op.ui.configbool('experimental', 'bundle2lazylocking'): op.gettransaction() if sorted(heads) != sorted(op.repo.heads()): - raise error.PushRaced('repository changed while pushing - ' + raise error.PushRaced('remote repository changed while pushing - ' 'please try again') @parthandler('check:updated-heads') @@ -1963,7 +1963,7 @@ def handlecheckupdatedheads(op, inpart): for h in heads: if h not in currentheads: - raise error.PushRaced('repository changed while pushing - ' + raise error.PushRaced('remote repository changed while pushing - ' 'please try again') @parthandler('check:phases') @@ -1976,7 +1976,7 @@ def handlecheckphases(op, inpart): unfi = op.repo.unfiltered() cl = unfi.changelog phasecache = unfi._phasecache - msg = ('repository changed while pushing - please try again ' + msg = ('remote repository changed while pushing - please try again ' '(%s is %s expected %s)') for expectedphase, nodes in enumerate(phasetonodes): for n in nodes: diff --git a/tests/test-bundle2-exchange.t b/tests/test-bundle2-exchange.t --- a/tests/test-bundle2-exchange.t +++ b/tests/test-bundle2-exchange.t @@ -587,21 +587,21 @@ Doing the actual push: race pushing to other searching for changes abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' [255] $ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6 pushing to ssh://user@dummy/other searching for changes abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' [255] $ hg -R main push http://localhost:$HGPORT2/ -r e7ec4e813ba6 pushing to http://localhost:$HGPORT2/ searching for changes abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' [255] Doing the actual push: hook abort diff --git a/tests/test-bundle2-format.t b/tests/test-bundle2-format.t --- a/tests/test-bundle2-format.t +++ b/tests/test-bundle2-format.t @@ -824,7 +824,7 @@ Test push race detection $ hg unbundle2 < ../part-race.hg2 0 unread bytes - abort: push race: repository changed while pushing - please try again + abort: push race: remote repository changed while pushing - please try again [255] Support for changegroup diff --git a/tests/test-push-race.t b/tests/test-push-race.t --- a/tests/test-push-race.t +++ b/tests/test-push-race.t @@ -214,7 +214,7 @@ Check the result of the push wrote ready: $TESTTMP/readyfile waiting on: $TESTTMP/watchfile abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' $ hg -R server graph o 98217d5a1659 C-A (default) @@ -303,7 +303,7 @@ Check the result of the push wrote ready: $TESTTMP/readyfile waiting on: $TESTTMP/watchfile abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' $ hg -R server graph o 51c544a58128 C-C (default) @@ -451,7 +451,7 @@ Check the result of the push wrote ready: $TESTTMP/readyfile waiting on: $TESTTMP/watchfile abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' $ hg -R server graph o d603e2c0cdd7 C-E (default) @@ -614,7 +614,7 @@ Check the result of the push wrote ready: $TESTTMP/readyfile waiting on: $TESTTMP/watchfile abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' $ hg -R server graph o 75d69cba5402 C-G (default) @@ -789,7 +789,7 @@ Check the result of the push wrote ready: $TESTTMP/readyfile waiting on: $TESTTMP/watchfile abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' $ hg -R server graph o b35ed749f288 C-I (my-second-test-branch) @@ -977,7 +977,7 @@ Check the result of the push wrote ready: $TESTTMP/readyfile waiting on: $TESTTMP/watchfile abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' $ hg -R server graph o be705100c623 C-K (default) @@ -1113,7 +1113,7 @@ Check the result of the push wrote ready: $TESTTMP/readyfile waiting on: $TESTTMP/watchfile abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' $ hg -R server graph o 6fd3090135df C-M (default) @@ -1285,7 +1285,7 @@ Check the result of the push wrote ready: $TESTTMP/readyfile waiting on: $TESTTMP/watchfile abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' $ hg -R server graph o 1b58ee3f79e5 C-P (default) @@ -1458,7 +1458,7 @@ Check the result of the push wrote ready: $TESTTMP/readyfile waiting on: $TESTTMP/watchfile abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' $ hg -R server graph o de7b9e2ba3f6 C-R (other) @@ -1634,7 +1634,7 @@ Check the result of the push wrote ready: $TESTTMP/readyfile waiting on: $TESTTMP/watchfile abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' $ hg -R server debugobsolete $ hg -R server graph @@ -1834,7 +1834,7 @@ Check the result of the push wrote ready: $TESTTMP/readyfile waiting on: $TESTTMP/watchfile abort: push failed: - 'repository changed while pushing - please try again' + 'remote repository changed while pushing - please try again' $ hg -R server debugobsolete b0ee3d6f51bc4c0ca6d4f2907708027a6c376233 720c5163ecf64dcc6216bee2d62bf3edb1882499 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}