##// END OF EJS Templates
infinitepush: add tests for `hg pull -r <rev>`...
Pulkit Goyal -
r37257:b5caa13d default
parent child Browse files
Show More
@@ -23,6 +23,7 b' Setup'
23
23
24 $ cd ..
24 $ cd ..
25 $ hg clone repo client -q
25 $ hg clone repo client -q
26 $ hg clone repo client2 -q
26 $ cd client
27 $ cd client
27
28
28 Pushing a new commit from the client to the server
29 Pushing a new commit from the client to the server
@@ -172,6 +173,43 b' Checking if `hg pull` pulls something or'
172 searching for changes
173 searching for changes
173 no changes found
174 no changes found
174
175
176 Pulling from second client to test `hg pull -r <rev>`
177 ------------------------------------------------------
178
179 Pulling the revision which is applied
180
181 $ cd ../client2
182 $ hg pull -r 6cb0989601f1
183 pulling from $TESTTMP/repo
184 searching for changes
185 adding changesets
186 adding manifests
187 adding file changes
188 added 1 changesets with 1 changes to 1 files
189 new changesets 6cb0989601f1
190 (run 'hg update' to get a working copy)
191 $ hg glog
192 o 1:6cb0989601f1 added a
193 | public
194 @ 0:67145f466344 initialcommit
195 public
196
197 Pulling the revision which is in bundlestore
198 XXX: we should support pulling revisions from bundlestore without client side
199 wrapping
200
201 $ hg pull -r b4e4bce660512ad3e71189e14588a70ac8e31fef
202 pulling from $TESTTMP/repo
203 abort: unknown revision 'b4e4bce660512ad3e71189e14588a70ac8e31fef'!
204 [255]
205 $ hg glog
206 o 1:6cb0989601f1 added a
207 | public
208 @ 0:67145f466344 initialcommit
209 public
210
211 $ cd ../client
212
175 Checking storage of phase information with the bundle on bundlestore
213 Checking storage of phase information with the bundle on bundlestore
176 ---------------------------------------------------------------------
214 ---------------------------------------------------------------------
177
215
General Comments 0
You need to be logged in to leave comments. Login now