comparison tests/test-narrow-widen-no-ellipsis.t @ 40435:d362a41ee5dd

tests: show that adding an already included path still calls narrow_widen() This patch adds tests demonstrating that we still go to the server in non-ellipses widening when we have that path already on the client and there is nothing new to download. The next patch will try to make client side logic smart and not go to the server if we don't need to download anything. Differential Revision: https://phab.mercurial-scm.org/D5182
author Pulkit Goyal <pulkit@yandex-team.ru>
date Tue, 23 Oct 2018 14:26:17 +0300
parents a69d5823af6d
children 30a7d3b6b281
comparison
equal deleted inserted replaced
40434:3c0d5016b2be 40435:d362a41ee5dd
137 $ cat widest/f 137 $ cat widest/f
138 widest 138 widest
139 139
140 $ hg id -n 140 $ hg id -n
141 2 141 2
142
143 Test that extending already included files should not call narrow_widen
144 wireprotocol command
145
146 $ hg tracked --addinclude widest/f
147 comparing with ssh://user@dummy/master
148 searching for changes
149 adding changesets
150 adding manifests
151 adding file changes
152 added 0 changesets with 0 changes to 0 files
142 153
143 Pull down the newly added upstream revision. 154 Pull down the newly added upstream revision.
144 155
145 $ hg pull 156 $ hg pull
146 pulling from ssh://user@dummy/master 157 pulling from ssh://user@dummy/master