comparison 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
comparison
equal deleted inserted replaced
10048:46de82e50790 10051:a02d43acbc04
19 sorting... 19 sorting...
20 converting... 20 converting...
21 % new hg rev 21 % new hg rev
22 updating to branch default 22 updating to branch default
23 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 23 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
24 % adding an empty revision
24 % echo hg to svn 25 % echo hg to svn
25 scanning source... 26 scanning source...
26 sorting... 27 sorting...
27 converting... 28 converting...
28 0 b 29 1 b
30 0 emtpy
29 % svn back to hg should do nothing 31 % svn back to hg should do nothing
30 scanning source... 32 scanning source...
31 sorting... 33 sorting...
32 converting... 34 converting...
33 % hg back to svn should do nothing 35 % hg back to svn should do nothing