Details
Details
- Reviewers
durin42 - Group Reviewers
hg-reviewers - Commits
- rHG84e7d2d8c098: tests: port test-convert-filemap.t to simple store
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
durin42 |
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | tests/test-convert-filemap.t (15 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Abandoned | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg |
> rename dir dir2//dir3 | > rename dir dir2//dir3 | ||||
> include foo | > include foo | ||||
> include copied | > include copied | ||||
> rename foo foo2/ | > rename foo foo2/ | ||||
> rename copied ./copied2 | > rename copied ./copied2 | ||||
> exclude dir/subdir | > exclude dir/subdir | ||||
> include dir/subdir/file3 | > include dir/subdir/file3 | ||||
> EOF | > EOF | ||||
#if reporevlogstore | |||||
$ rm source/.hg/store/data/dir/file3.i | $ rm source/.hg/store/data/dir/file3.i | ||||
$ rm source/.hg/store/data/dir/file4.i | $ rm source/.hg/store/data/dir/file4.i | ||||
#endif | |||||
#if reposimplestore | |||||
$ rm -rf source/.hg/store/data/dir/file3 | |||||
$ rm -rf source/.hg/store/data/dir/file4 | |||||
#endif | |||||
$ hg -q convert --filemap renames.fmap --datesort source dummydest | $ hg -q convert --filemap renames.fmap --datesort source dummydest | ||||
abort: data/dir/file3.i@e96dce0bc6a2: no match found! | abort: data/dir/file3.i@e96dce0bc6a2: no match found! (reporevlogstore !) | ||||
abort: data/dir/file3/index@e96dce0bc6a2: no node! (reposimplestore !) | |||||
[255] | [255] | ||||
$ hg -q convert --filemap renames.fmap --datesort --config convert.hg.ignoreerrors=1 source renames.repo | $ hg -q convert --filemap renames.fmap --datesort --config convert.hg.ignoreerrors=1 source renames.repo | ||||
ignoring: data/dir/file3.i@e96dce0bc6a2: no match found | ignoring: data/dir/file3.i@e96dce0bc6a2: no match found (reporevlogstore !) | ||||
ignoring: data/dir/file4.i@6edd55f559cd: no match found | ignoring: data/dir/file4.i@6edd55f559cd: no match found (reporevlogstore !) | ||||
ignoring: data/dir/file3/index@e96dce0bc6a2: no node (reposimplestore !) | |||||
ignoring: data/dir/file4/index@6edd55f559cd: no node (reposimplestore !) | |||||
$ hg up -q -R renames.repo | $ hg up -q -R renames.repo | ||||
$ glog -R renames.repo | $ glog -R renames.repo | ||||
@ 4 "8: change foo" files: foo2 | @ 4 "8: change foo" files: foo2 | ||||
| | | | ||||
o 3 "6: change foo baz" files: foo2 | o 3 "6: change foo baz" files: foo2 | ||||
| | | | ||||
o 2 "2: change foo" files: foo2 | o 2 "2: change foo" files: foo2 | ||||
| | | |