tests_: fix failures related to recent renames

Summary: We need to start fixing test failures to test hgbuild e2e :)

Test Plan: run-tests.py against changed files shows that these ones were fixed

Reviewers: quark, mjpieters, rmcelroy, simonfar

Subscribers: mjpieters, #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D3907217
This commit is contained in:
Kostia Balytskyi 2016-09-22 07:44:34 -07:00
parent d62504e76d
commit ded4c889ca
7 changed files with 19 additions and 19 deletions

View File

@ -22,17 +22,17 @@ Test backups list and recover
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d2ae7f538514-2953539b-backup.hg (glob)
$ hg backups
Recover commits using: hg backups --recover <commit hash>
Recover changesets using: hg backups --recover <changeset hash>
* (glob)
d2ae7f538514 b
$ hg backups --config experimental.evolution=createmarkers
Marker creation is enabled so no commit should be
Marker creation is enabled so no changeset should be
* (glob)
stripped commits. If you are trying to recover a commit hidden from a previous
command, use hg journal to get its sha1 and you will be able to access it
directly without recovering a backup.Recover commits using: hg backups --recover <commit hash>
stripped changesets. If you are trying to recover a changeset hidden from a
previous command, use hg journal to get its sha1 and you will be able to access
it directly without recovering a backup.Recover changesets using: hg backups --recover <changeset hash>
* (glob)
d2ae7f538514 b

View File

@ -16,7 +16,7 @@ Diff with no revision
$ hg add foo
$ hg ci -qm 'No rev'
$ hg diff --since-last-arc-diff
abort: local commit is not associated with a differential revision
abort: local changeset is not associated with a differential revision
[255]
Fake a diff
@ -38,14 +38,14 @@ Now progressively test the response handling for variations of missing data
> [{"cmd": ["differential.query", {"ids": ["1"]}], "result": null}]
> EOF
$ HG_ARC_CONDUIT_MOCK=$TESTTMP/mockduit hg diff --since-last-arc-diff
abort: unable to determine previous commit hash
abort: unable to determine previous changeset hash
[255]
$ cat > $TESTTMP/mockduit << EOF
> [{"cmd": ["differential.query", {"ids": ["1"]}], "result": [{"diffs": []}]}]
> EOF
$ HG_ARC_CONDUIT_MOCK=$TESTTMP/mockduit hg diff --since-last-arc-diff
abort: unable to determine previous commit hash
abort: unable to determine previous changeset hash
[255]
$ cat > $TESTTMP/mockduit << EOF
@ -57,7 +57,7 @@ Now progressively test the response handling for variations of missing data
> }]
> EOF
$ HG_ARC_CONDUIT_MOCK=$TESTTMP/mockduit hg diff --since-last-arc-diff
abort: unable to determine previous commit hash
abort: unable to determine previous changeset hash
[255]
$ cat > $TESTTMP/mockduit << EOF
@ -69,7 +69,7 @@ Now progressively test the response handling for variations of missing data
> }]
> EOF
$ HG_ARC_CONDUIT_MOCK=$TESTTMP/mockduit hg diff --since-last-arc-diff
abort: unable to determine previous commit hash
abort: unable to determine previous changeset hash
[255]
This is the case when the diff is up to date with the current commit;

View File

@ -361,7 +361,7 @@ XXX shouldn't output a warning
ancestor path: foo.txt (node ad59c7ac23656632da079904d4d40d0bab4aeb80)
other path: foo.txt (node 0b0743b512ba9b7c5db411597cf374a73b9f00ac)
$ hg commit -m 'merged'
abort: unresolved merge conflicts (see "hg help resolve")
abort: unresolved merge conflicts (see 'hg help resolve')
[255]
$ hg update 2
abort: outstanding uncommitted merge

View File

@ -85,7 +85,7 @@ when a diff is landed with landcastle.
$ hg push -r . --to master
pushing rev cc68f5e5f8d6 to destination ssh://user@dummy/server bookmark master
searching for changes
remote: pushing 2 commits:
remote: pushing 2 changsets:
remote: e0672eeeb97c add b
remote: cc68f5e5f8d6 add c
updating bookmark master
@ -145,7 +145,7 @@ Now land the last diff.
$ hg push -r . --to master
pushing rev 296f9d37d5c1 to destination ssh://user@dummy/server bookmark master
searching for changes
remote: pushing 1 commit:
remote: pushing 1 changset:
remote: 296f9d37d5c1 add d
updating bookmark master

View File

@ -60,7 +60,7 @@ The first client works on several diffs while the second client lands one of her
$ hg push --to master
pushing rev 2e73b79a63d8 to destination ssh://user@dummy/server bookmark master
searching for changes
remote: pushing 1 commit:
remote: pushing 1 changset:
remote: 2e73b79a63d8 add b
updating bookmark master
$ cd ../client
@ -84,11 +84,11 @@ The first client works on several diffs while the second client lands one of her
$ hg push --to master
pushing rev d5895ab36037 to destination ssh://user@dummy/server bookmark master
searching for changes
remote: pushing 3 commits:
remote: pushing 3 changsets:
remote: 1a07332e9fa1 add c
remote: ee96b78ae17d add d
remote: d5895ab36037 add e
remote: 4 new commits from the server will be downloaded
remote: 4 new changesets from the server will be downloaded
adding changesets
adding manifests
adding file changes

View File

@ -271,7 +271,7 @@ Confirm that --help works (it didn't when we used an alias)
See 'hg help templates' for more about pre-packaged styles and specifying
custom templates.
(use "hg help -e show" to show help for the show extension)
(use 'hg help -e show' to show help for the show extension)
options ([+] can be repeated):
@ -294,7 +294,7 @@ Confirm that --help works (it didn't when we used an alias)
See 'hg help templates' for more about pre-packaged styles and specifying
custom templates.
(use "hg help -e show" to show help for the show extension)
(use 'hg help -e show' to show help for the show extension)
options ([+] can be repeated):

View File

@ -55,7 +55,7 @@ shelve has a help message
To delete specific shelved changes, use "--delete". To delete all shelved
changes, use "--cleanup".
(use "hg help -e shelve" to show help for the shelve extension)
(use 'hg help -e shelve' to show help for the shelve extension)
options ([+] can be repeated):