Show More
@@ -1900,11 +1900,11 b' def handlecheckbookmarks(op, inpart):' | |||
|
1900 | 1900 | """ |
|
1901 | 1901 | bookdata = bookmarks.binarydecode(inpart) |
|
1902 | 1902 | |
|
1903 | msgstandard = ('repository changed while pushing - please try again ' | |
|
1903 | msgstandard = ('remote repository changed while pushing - please try again ' | |
|
1904 | 1904 | '(bookmark "%s" move from %s to %s)') |
|
1905 | msgmissing = ('repository changed while pushing - please try again ' | |
|
1905 | msgmissing = ('remote repository changed while pushing - please try again ' | |
|
1906 | 1906 | '(bookmark "%s" is missing, expected %s)') |
|
1907 | msgexist = ('repository changed while pushing - please try again ' | |
|
1907 | msgexist = ('remote repository changed while pushing - please try again ' | |
|
1908 | 1908 | '(bookmark "%s" set on %s, expected missing)') |
|
1909 | 1909 | for book, node in bookdata: |
|
1910 | 1910 | currentnode = op.repo._bookmarks.get(book) |
@@ -1934,7 +1934,7 b' def handlecheckheads(op, inpart):' | |||
|
1934 | 1934 | if op.ui.configbool('experimental', 'bundle2lazylocking'): |
|
1935 | 1935 | op.gettransaction() |
|
1936 | 1936 | if sorted(heads) != sorted(op.repo.heads()): |
|
1937 | raise error.PushRaced('repository changed while pushing - ' | |
|
1937 | raise error.PushRaced('remote repository changed while pushing - ' | |
|
1938 | 1938 | 'please try again') |
|
1939 | 1939 | |
|
1940 | 1940 | @parthandler('check:updated-heads') |
@@ -1963,7 +1963,7 b' def handlecheckupdatedheads(op, inpart):' | |||
|
1963 | 1963 | |
|
1964 | 1964 | for h in heads: |
|
1965 | 1965 | if h not in currentheads: |
|
1966 | raise error.PushRaced('repository changed while pushing - ' | |
|
1966 | raise error.PushRaced('remote repository changed while pushing - ' | |
|
1967 | 1967 | 'please try again') |
|
1968 | 1968 | |
|
1969 | 1969 | @parthandler('check:phases') |
@@ -1976,7 +1976,7 b' def handlecheckphases(op, inpart):' | |||
|
1976 | 1976 | unfi = op.repo.unfiltered() |
|
1977 | 1977 | cl = unfi.changelog |
|
1978 | 1978 | phasecache = unfi._phasecache |
|
1979 | msg = ('repository changed while pushing - please try again ' | |
|
1979 | msg = ('remote repository changed while pushing - please try again ' | |
|
1980 | 1980 | '(%s is %s expected %s)') |
|
1981 | 1981 | for expectedphase, nodes in enumerate(phasetonodes): |
|
1982 | 1982 | for n in nodes: |
@@ -587,21 +587,21 b' Doing the actual push: race' | |||
|
587 | 587 | pushing to other |
|
588 | 588 | searching for changes |
|
589 | 589 | abort: push failed: |
|
590 | 'repository changed while pushing - please try again' | |
|
590 | 'remote repository changed while pushing - please try again' | |
|
591 | 591 | [255] |
|
592 | 592 | |
|
593 | 593 | $ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6 |
|
594 | 594 | pushing to ssh://user@dummy/other |
|
595 | 595 | searching for changes |
|
596 | 596 | abort: push failed: |
|
597 | 'repository changed while pushing - please try again' | |
|
597 | 'remote repository changed while pushing - please try again' | |
|
598 | 598 | [255] |
|
599 | 599 | |
|
600 | 600 | $ hg -R main push http://localhost:$HGPORT2/ -r e7ec4e813ba6 |
|
601 | 601 | pushing to http://localhost:$HGPORT2/ |
|
602 | 602 | searching for changes |
|
603 | 603 | abort: push failed: |
|
604 | 'repository changed while pushing - please try again' | |
|
604 | 'remote repository changed while pushing - please try again' | |
|
605 | 605 | [255] |
|
606 | 606 | |
|
607 | 607 | Doing the actual push: hook abort |
@@ -824,7 +824,7 b' Test push race detection' | |||
|
824 | 824 | |
|
825 | 825 | $ hg unbundle2 < ../part-race.hg2 |
|
826 | 826 | 0 unread bytes |
|
827 | abort: push race: repository changed while pushing - please try again | |
|
827 | abort: push race: remote repository changed while pushing - please try again | |
|
828 | 828 | [255] |
|
829 | 829 | |
|
830 | 830 | Support for changegroup |
@@ -214,7 +214,7 b' Check the result of the push' | |||
|
214 | 214 | wrote ready: $TESTTMP/readyfile |
|
215 | 215 | waiting on: $TESTTMP/watchfile |
|
216 | 216 | abort: push failed: |
|
217 | 'repository changed while pushing - please try again' | |
|
217 | 'remote repository changed while pushing - please try again' | |
|
218 | 218 | |
|
219 | 219 | $ hg -R server graph |
|
220 | 220 | o 98217d5a1659 C-A (default) |
@@ -303,7 +303,7 b' Check the result of the push' | |||
|
303 | 303 | wrote ready: $TESTTMP/readyfile |
|
304 | 304 | waiting on: $TESTTMP/watchfile |
|
305 | 305 | abort: push failed: |
|
306 | 'repository changed while pushing - please try again' | |
|
306 | 'remote repository changed while pushing - please try again' | |
|
307 | 307 | |
|
308 | 308 | $ hg -R server graph |
|
309 | 309 | o 51c544a58128 C-C (default) |
@@ -451,7 +451,7 b' Check the result of the push' | |||
|
451 | 451 | wrote ready: $TESTTMP/readyfile |
|
452 | 452 | waiting on: $TESTTMP/watchfile |
|
453 | 453 | abort: push failed: |
|
454 | 'repository changed while pushing - please try again' | |
|
454 | 'remote repository changed while pushing - please try again' | |
|
455 | 455 | |
|
456 | 456 | $ hg -R server graph |
|
457 | 457 | o d603e2c0cdd7 C-E (default) |
@@ -614,7 +614,7 b' Check the result of the push' | |||
|
614 | 614 | wrote ready: $TESTTMP/readyfile |
|
615 | 615 | waiting on: $TESTTMP/watchfile |
|
616 | 616 | abort: push failed: |
|
617 | 'repository changed while pushing - please try again' | |
|
617 | 'remote repository changed while pushing - please try again' | |
|
618 | 618 | |
|
619 | 619 | $ hg -R server graph |
|
620 | 620 | o 75d69cba5402 C-G (default) |
@@ -789,7 +789,7 b' Check the result of the push' | |||
|
789 | 789 | wrote ready: $TESTTMP/readyfile |
|
790 | 790 | waiting on: $TESTTMP/watchfile |
|
791 | 791 | abort: push failed: |
|
792 | 'repository changed while pushing - please try again' | |
|
792 | 'remote repository changed while pushing - please try again' | |
|
793 | 793 | |
|
794 | 794 | $ hg -R server graph |
|
795 | 795 | o b35ed749f288 C-I (my-second-test-branch) |
@@ -977,7 +977,7 b' Check the result of the push' | |||
|
977 | 977 | wrote ready: $TESTTMP/readyfile |
|
978 | 978 | waiting on: $TESTTMP/watchfile |
|
979 | 979 | abort: push failed: |
|
980 | 'repository changed while pushing - please try again' | |
|
980 | 'remote repository changed while pushing - please try again' | |
|
981 | 981 | |
|
982 | 982 | $ hg -R server graph |
|
983 | 983 | o be705100c623 C-K (default) |
@@ -1113,7 +1113,7 b' Check the result of the push' | |||
|
1113 | 1113 | wrote ready: $TESTTMP/readyfile |
|
1114 | 1114 | waiting on: $TESTTMP/watchfile |
|
1115 | 1115 | abort: push failed: |
|
1116 | 'repository changed while pushing - please try again' | |
|
1116 | 'remote repository changed while pushing - please try again' | |
|
1117 | 1117 | |
|
1118 | 1118 | $ hg -R server graph |
|
1119 | 1119 | o 6fd3090135df C-M (default) |
@@ -1285,7 +1285,7 b' Check the result of the push' | |||
|
1285 | 1285 | wrote ready: $TESTTMP/readyfile |
|
1286 | 1286 | waiting on: $TESTTMP/watchfile |
|
1287 | 1287 | abort: push failed: |
|
1288 | 'repository changed while pushing - please try again' | |
|
1288 | 'remote repository changed while pushing - please try again' | |
|
1289 | 1289 | |
|
1290 | 1290 | $ hg -R server graph |
|
1291 | 1291 | o 1b58ee3f79e5 C-P (default) |
@@ -1458,7 +1458,7 b' Check the result of the push' | |||
|
1458 | 1458 | wrote ready: $TESTTMP/readyfile |
|
1459 | 1459 | waiting on: $TESTTMP/watchfile |
|
1460 | 1460 | abort: push failed: |
|
1461 | 'repository changed while pushing - please try again' | |
|
1461 | 'remote repository changed while pushing - please try again' | |
|
1462 | 1462 | |
|
1463 | 1463 | $ hg -R server graph |
|
1464 | 1464 | o de7b9e2ba3f6 C-R (other) |
@@ -1634,7 +1634,7 b' Check the result of the push' | |||
|
1634 | 1634 | wrote ready: $TESTTMP/readyfile |
|
1635 | 1635 | waiting on: $TESTTMP/watchfile |
|
1636 | 1636 | abort: push failed: |
|
1637 | 'repository changed while pushing - please try again' | |
|
1637 | 'remote repository changed while pushing - please try again' | |
|
1638 | 1638 | |
|
1639 | 1639 | $ hg -R server debugobsolete |
|
1640 | 1640 | $ hg -R server graph |
@@ -1834,7 +1834,7 b' Check the result of the push' | |||
|
1834 | 1834 | wrote ready: $TESTTMP/readyfile |
|
1835 | 1835 | waiting on: $TESTTMP/watchfile |
|
1836 | 1836 | abort: push failed: |
|
1837 | 'repository changed while pushing - please try again' | |
|
1837 | 'remote repository changed while pushing - please try again' | |
|
1838 | 1838 | |
|
1839 | 1839 | $ hg -R server debugobsolete |
|
1840 | 1840 | b0ee3d6f51bc4c0ca6d4f2907708027a6c376233 720c5163ecf64dcc6216bee2d62bf3edb1882499 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
General Comments 0
You need to be logged in to leave comments.
Login now