Mercurial > hg
comparison tests/test-remotefilelog-pull-noshallow.t @ 40511:466dd4d70bff
remotefilelog: rename wireproto methods and remaining capabilities
This is a mess, in part because there should be more constants
throughout. I know we typically do exp- instead of the x_ business in
this change, but I also had to use this in some function names, so I
figured until I can break that coupling I'd go with this. If it's too
unpleasant during review, let me know and I can probably clean it up
some more.
# no-check-commit due to new foo_bar naming - too hard to avoid right now :(
Differential Revision: https://phab.mercurial-scm.org/D5129
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 04 Oct 2018 10:03:10 -0400 |
parents | 354acd0dc637 |
children | 95a079ea1e19 |
comparison
equal
deleted
inserted
replaced
40510:fc2766860796 | 40511:466dd4d70bff |
---|---|
35 the server supports our custom getfiles method. | 35 the server supports our custom getfiles method. |
36 | 36 |
37 $ cd master | 37 $ cd master |
38 $ echo 'hello' | hg -R . serve --stdio | grep capa | identifyrflcaps | 38 $ echo 'hello' | hg -R . serve --stdio | grep capa | identifyrflcaps |
39 exp-remotefilelog-ssh-getfiles-1 | 39 exp-remotefilelog-ssh-getfiles-1 |
40 getfile | 40 x_rfl_getfile |
41 getflogheads | 41 x_rfl_getflogheads |
42 $ echo 'capabilities' | hg -R . serve --stdio | identifyrflcaps ; echo | 42 $ echo 'capabilities' | hg -R . serve --stdio | identifyrflcaps ; echo |
43 exp-remotefilelog-ssh-getfiles-1 | 43 exp-remotefilelog-ssh-getfiles-1 |
44 getfile | 44 x_rfl_getfile |
45 getflogheads | 45 x_rfl_getflogheads |
46 | 46 |
47 | 47 |
48 Pull to the child repository. Use our custom setupremotefilelog extension | 48 Pull to the child repository. Use our custom setupremotefilelog extension |
49 to ensure that remotefilelog.onetimeclientsetup() gets triggered. (Without | 49 to ensure that remotefilelog.onetimeclientsetup() gets triggered. (Without |
50 using chg it normally would not be run in this case since the local repository | 50 using chg it normally would not be run in this case since the local repository |