Mercurial > hg
comparison tests/test-convert-filemap.t @ 37420:84e7d2d8c098
tests: port test-convert-filemap.t to simple store
Differential Revision: https://phab.mercurial-scm.org/D3100
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 04 Apr 2018 14:43:19 -0700 |
parents | 4441705b7111 |
children | 46da52f4b820 |
comparison
equal
deleted
inserted
replaced
37419:a84b6eeb2c39 | 37420:84e7d2d8c098 |
---|---|
281 > rename foo foo2/ | 281 > rename foo foo2/ |
282 > rename copied ./copied2 | 282 > rename copied ./copied2 |
283 > exclude dir/subdir | 283 > exclude dir/subdir |
284 > include dir/subdir/file3 | 284 > include dir/subdir/file3 |
285 > EOF | 285 > EOF |
286 #if reporevlogstore | |
286 $ rm source/.hg/store/data/dir/file3.i | 287 $ rm source/.hg/store/data/dir/file3.i |
287 $ rm source/.hg/store/data/dir/file4.i | 288 $ rm source/.hg/store/data/dir/file4.i |
289 #endif | |
290 #if reposimplestore | |
291 $ rm -rf source/.hg/store/data/dir/file3 | |
292 $ rm -rf source/.hg/store/data/dir/file4 | |
293 #endif | |
288 $ hg -q convert --filemap renames.fmap --datesort source dummydest | 294 $ hg -q convert --filemap renames.fmap --datesort source dummydest |
289 abort: data/dir/file3.i@e96dce0bc6a2: no match found! | 295 abort: data/dir/file3.i@e96dce0bc6a2: no match found! (reporevlogstore !) |
296 abort: data/dir/file3/index@e96dce0bc6a2: no node! (reposimplestore !) | |
290 [255] | 297 [255] |
291 $ hg -q convert --filemap renames.fmap --datesort --config convert.hg.ignoreerrors=1 source renames.repo | 298 $ hg -q convert --filemap renames.fmap --datesort --config convert.hg.ignoreerrors=1 source renames.repo |
292 ignoring: data/dir/file3.i@e96dce0bc6a2: no match found | 299 ignoring: data/dir/file3.i@e96dce0bc6a2: no match found (reporevlogstore !) |
293 ignoring: data/dir/file4.i@6edd55f559cd: no match found | 300 ignoring: data/dir/file4.i@6edd55f559cd: no match found (reporevlogstore !) |
301 ignoring: data/dir/file3/index@e96dce0bc6a2: no node (reposimplestore !) | |
302 ignoring: data/dir/file4/index@6edd55f559cd: no node (reposimplestore !) | |
294 $ hg up -q -R renames.repo | 303 $ hg up -q -R renames.repo |
295 $ glog -R renames.repo | 304 $ glog -R renames.repo |
296 @ 4 "8: change foo" files: foo2 | 305 @ 4 "8: change foo" files: foo2 |
297 | | 306 | |
298 o 3 "6: change foo baz" files: foo2 | 307 o 3 "6: change foo baz" files: foo2 |