Mercurial > hg
annotate tests/.balto.toml @ 41051:bad05a6afdc8
pull: fix inconsistent view of bookmarks during pull (issue4700)
I had a share where a pull apparently pulled a bookmark but not the
revision pointed to by the bookmark, which I suspect is due to this
(and if not, we might as well remove known issues in this area).
I do this by combining doing all the queries that could read the
bookmarks in one round trip.
I had to change the handling of the case where the server doesn't
support the lookup query, because if it fails, it would otherwise make
fremotebookmark.result() block forever. This is due to
wireprotov1peer.peerexecutor.sendcommands's behavior (it fills a
single future if any query fails synchronously and leaves all other
futures unchanged), but I don't know if the fix is to cancel all other
futures, or to keep going with the other queries.
Differential Revision: https://phab.mercurial-scm.org/D5449
author | Valentin Gatien-Baron <valentin.gatienbaron@gmail.com> |
---|---|
date | Thu, 20 Dec 2018 22:28:39 -0500 |
parents | 337a38995336 |
children |
rev | line source |
---|---|
40673
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
1 # Balto (https://bitbucket.org/lothiraldan/balto/src) is a test orchestrator |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
2 # which is compatible with all test runner that can emit the LITF |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
3 # (https://github.com/lothiraldan/litf) test format. |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
4 |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
5 # The plugin for the Mercurial test runner is mercurial-litf |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
6 # (https://pypi.org/project/mercurial-litf/). Make sure to follow the |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
7 # instruction and configuration instructions here: |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
8 # https://bitbucket.org/lothiraldan/mercurial_litf/src/default/ |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
9 |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
10 # You can launch Balto with `balto /path/to/mercurial/tests/` |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
11 |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
12 name = "Mercurial Test Suite" |
337a38995336
tests: add Balto configuration file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
13 tool = "mercurial" |