##// END OF EJS Templates
tests: unify test-convert-filemap
tests: unify test-convert-filemap

File last commit:

r10990:bb377a31 stable
r12529:00e7a7fd default
Show More
test-convert-git.out
131 lines | 2.9 KiB | text/plain | TextLexer
/ tests / test-convert-git.out
Patrick Mezard
Test mercurial convert sink removes empty directories.
r5345 rm 'd/b'
Patrick Mezard
Test git repository conversion
r5219 assuming destination git-repo-hg
initializing destination git-repo-hg repository
scanning source...
sorting...
converting...
Patrick Mezard
Test mercurial convert sink removes empty directories.
r5345 5 t1
4 t2
3 t3
2 t4.1
1 t4.2
Alexis S. L. Carvalho
convert_git: avoid returning two entries for the same file in getchanges...
r5335 0 Merge branch other
Richard Quirk
Add committer tag only when needed in git conversion...
r8271 changeset: 5:c78094926be2
Alexis S. L. Carvalho
convert_git: avoid returning two entries for the same file in getchanges...
r5335 tag: tip
Richard Quirk
Add committer tag only when needed in git conversion...
r8271 parent: 3:f5f5cb45432b
parent: 4:4e174f80c67c
Alexis S. L. Carvalho
convert_git: avoid returning two entries for the same file in getchanges...
r5335 user: test <test@example.org>
Patrick Mezard
Test mercurial convert sink removes empty directories.
r5345 date: Mon Jan 01 00:00:15 2007 +0000
Alexis S. L. Carvalho
convert_git: avoid returning two entries for the same file in getchanges...
r5335 files: a
description:
Merge branch other
Alexis S. L. Carvalho
convert_git: add --filemap support
r5380 % full conversion
Matt Mackall
context: consistently return p1 context for None
r6737 @ 9 "Discard change to foo" files: foo
Alexis S. L. Carvalho
convert_git: add --filemap support
r5380 |\
| o 8 "change foo" files: foo
| |
o | 7 "change bar" files: bar
|/
o 6 "(octopus merge fixup)" files:
|\
| o 5 "Octopus merge" files: baz
| |\
o | | 4 "add baz" files: baz
| | |
+---o 3 "add bar" files: bar
| |
o | 2 "add quux" files: quux
| |
| o 1 "change foo" files: foo
|/
o 0 "add foo" files: foo
Patrick Mezard
Display symlink or executable bit with manifest -v...
r5405 245a3b8bc653999c2b22cdabd517ccb47aecafdf 644 bar
354ae8da6e890359ef49ade27b68bbc361f3ca88 644 baz
9277c9cc8dd4576fc01a17939b4351e5ada93466 644 foo
88dfeab657e8cf2cef3dec67b914f49791ae76b1 644 quux
Alexis S. L. Carvalho
convert_git: add --filemap support
r5380 % foo bar baz: octopus merge
Matt Mackall
context: consistently return p1 context for None
r6737 @ 8 "Discard change to foo" files: foo
Alexis S. L. Carvalho
convert_git: add --filemap support
r5380 |\
| o 7 "change foo" files: foo
| |
o | 6 "change bar" files: bar
|/
o 5 "(octopus merge fixup)" files:
|\
| o 4 "Octopus merge" files: baz
| |\
o | | 3 "add baz" files: baz
| | |
+---o 2 "add bar" files: bar
| |
| o 1 "change foo" files: foo
|/
o 0 "add foo" files: foo
Patrick Mezard
Display symlink or executable bit with manifest -v...
r5405 245a3b8bc653999c2b22cdabd517ccb47aecafdf 644 bar
354ae8da6e890359ef49ade27b68bbc361f3ca88 644 baz
9277c9cc8dd4576fc01a17939b4351e5ada93466 644 foo
Alexis S. L. Carvalho
convert_git: add --filemap support
r5380 % foo baz quux: only some parents of an octopus merge; "discard" a head
Matt Mackall
context: consistently return p1 context for None
r6737 @ 6 "Discard change to foo" files: foo
Alexis S. L. Carvalho
convert_git: add --filemap support
r5380 |
o 5 "change foo" files: foo
|
o 4 "Octopus merge" files:
|\
| o 3 "add baz" files: baz
| |
| o 2 "add quux" files: quux
| |
o | 1 "change foo" files: foo
|/
o 0 "add foo" files: foo
Patrick Mezard
Display symlink or executable bit with manifest -v...
r5405 354ae8da6e890359ef49ade27b68bbc361f3ca88 644 baz
9277c9cc8dd4576fc01a17939b4351e5ada93466 644 foo
88dfeab657e8cf2cef3dec67b914f49791ae76b1 644 quux
Patrick Mezard
convert: read git output in binary mode under Windows (issue 1359)
r7222
% test binary conversion (issue 1359)
% convert binary file
initializing destination git-repo3-hg repository
scanning source...
sorting...
converting...
0 addbinary
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
4096
Richard Quirk
Add committer tag only when needed in git conversion...
r8271
% test author vs committer
% convert author committer
initializing destination git-repo4-hg repository
scanning source...
sorting...
converting...
1 addfoo
0 addfoo2
changeset: 1:d63e967f93da
tag: tip
user: nottest <test@example.org>
date: Mon Jan 01 00:00:21 2007 +0000
files: foo
description:
addfoo2
committer: test <test@example.org>
changeset: 0:0735477b0224
user: test <test@example.org>
date: Mon Jan 01 00:00:20 2007 +0000
files: foo
description:
addfoo
Patrick Mezard
convert: fail fast if source does not support --sourcesort
r8691 % --sourceorder should fail
initializing destination git-repo4-sourcesort-hg repository
abort: --sourcesort is not supported by this data source
Patrick Mezard
convert/git: check status when reading output stream
r10987 % damage git repository and convert again
Patrick Mezard
test-convert-git: be tolerant to git output variants
r10990 abort: