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