sapling/tests
Ehsan Akhgari d57f385799 Improve the parsing of author lines from Mercurial to generate committer and author lines that git can correctly understand
Signed-off-by: Ehsan Akhgari <ehsan.akhgari@gmail.com>
---
I found a number of bugs when I was trying to convert Mozila's hg repository
to git using hg-git.  This patch fixes a number of bugs with irregular
author lines present in hg repositories.  Git cannot correctly process a
commit object which has a committer or author line in a format that it does
not understand, which makes it not be able to handle the repositories
with have such commit objects.

The added test cases shows the irregular cases that this patch is able to
deal with.
2011-09-09 16:12:49 -05:00
..
latin-1-encoding Handle git repositories with legacy encodings. 2009-06-18 16:49:13 +01:00
run-tests.py Slightly modified run-tests.py so that tests can run self-contained. 2009-04-28 11:23:15 -07:00
test-conflict-1 test-conflict-{1,2}: cope with minor hg output variations 2011-05-25 09:25:34 -05:00
test-conflict-1.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-conflict-2 test-conflict-{1,2}: cope with minor hg output variations 2011-05-25 09:25:34 -05:00
test-conflict-2.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-convergedmerge New test for round-trip fidelity of a merge of converged files. 2011-05-24 20:07:37 +02:00
test-convergedmerge.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-empty-working-tree tests: use run-tests.py's built-in daemon killing 2011-05-15 12:23:53 -05:00
test-empty-working-tree.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-encoding tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-encoding.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-file-removal tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-file-removal.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-git-clone tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-git-clone.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-git-submodules tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-git-submodules.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-git-tags tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-git-tags.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-git-workflow Fix all-version-tests. 2011-07-19 08:11:02 -05:00
test-git-workflow.out Fix all-version-tests. 2011-07-19 08:11:02 -05:00
test-hg-author Improve the parsing of author lines from Mercurial to generate committer and author lines that git can correctly understand 2011-09-09 16:12:49 -05:00
test-hg-author.out Improve the parsing of author lines from Mercurial to generate committer and author lines that git can correctly understand 2011-09-09 16:12:49 -05:00
test-hg-branch tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-hg-branch.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-hg-tags tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-hg-tags.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-incoming test-incoming: fixes for hg 1.7 2011-06-17 16:20:08 -05:00
test-incoming.out test-incoming: test updates for progress capturing 2011-09-09 15:49:31 -05:00
test-merge tests: use run-tests.py's built-in daemon killing 2011-05-15 12:23:53 -05:00
test-merge.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-octopus tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-octopus.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-outgoing outgoing: abort on broken hg versions rather than printing wrong results 2011-09-09 16:08:31 -05:00
test-outgoing.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-pull tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-pull-after-strip tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-pull-after-strip.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-pull.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-push tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-push-r tests: import test-push-r (with slight changes) from Mercurial 2010-08-15 09:45:00 -05:00
test-push-r.out tests: import test-push-r (with slight changes) from Mercurial 2010-08-15 09:45:00 -05:00
test-push.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-sane-without-bookmarks tests: cope with output format changes in hg 1.8 2011-05-15 17:04:05 -05:00
test-sane-without-bookmarks.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-tree-decomposition tests: use run-tests.py's built-in daemon killing 2011-05-15 12:23:53 -05:00
test-tree-decomposition.out test fixes for progress cleanup 2011-06-17 15:01:31 -05:00
test-url-parsing.py to be recognized port number in path to repository 2011-07-13 17:51:16 +09:00
test-url-parsing.py.out test-url-parsing: update expecations missed by 70247167a4b5 2011-07-13 08:06:52 -05:00