Mercurial > hg
diff tests/test-convert-hg-svn.out @ 10051:a02d43acbc04 stable
convert/svn: make sink recover gracefully from empty changeset
Otherwise when processing a changeset that in fact changes no files
(perhaps due to bug in import from CVS) can get something like:
unexpected svn output:
abort: unable to cope with svn output
Bug report and patch draft by Jesse Glick <jesse.glick@sun.com>
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 07 Dec 2009 12:44:15 -0500 |
parents | ea26ac58bbe3 |
children |
line wrap: on
line diff
--- a/tests/test-convert-hg-svn.out Fri Dec 11 15:09:52 2009 +0900 +++ b/tests/test-convert-hg-svn.out Mon Dec 07 12:44:15 2009 -0500 @@ -21,11 +21,13 @@ % new hg rev updating to branch default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved +% adding an empty revision % echo hg to svn scanning source... sorting... converting... -0 b +1 b +0 emtpy % svn back to hg should do nothing scanning source... sorting...