test-convert-cvs: handle older cvs client
authorChristian Ebert <blacktrash@gmx.net>
Wed, 03 Oct 2007 21:01:47 +0200
changeset 5364 645a40777fd4
parent 5347 1df76921aab3
child 5365 ac2ccdcf4539
child 5369 8ab7de07f40e
test-convert-cvs: handle older cvs client
tests/test-convert-cvs
tests/test-convert-cvs.out
--- a/tests/test-convert-cvs	Tue Oct 02 20:22:33 2007 +0200
+++ b/tests/test-convert-cvs	Wed Oct 03 21:01:47 2007 +0200
@@ -38,7 +38,8 @@
 cd src
 echo a >> a
 echo c >> b/c
-cvs -q commit -mci1 . | sed -e 's:.*src/\(.*\),v:src/\1,v:g'
+cvs -q commit -mci1 . | grep '<--' |\
+    sed -e 's:.*src/\(.*\),v.*:checking in src/\1,v:g'
 cd ..
 
 echo % convert again
--- a/tests/test-convert-cvs.out	Tue Oct 02 20:22:33 2007 +0200
+++ b/tests/test-convert-cvs.out	Wed Oct 03 21:01:47 2007 +0200
@@ -21,14 +21,8 @@
 a
 c
 % commit new file revisions
-Checking in a;
-src/a,v  <--  a
-new revision: 1.2; previous revision: 1.1
-done
-Checking in b/c;
-src/b/c,v  <--  c
-new revision: 1.2; previous revision: 1.1
-done
+checking in src/a,v
+checking in src/b/c,v
 % convert again
 connecting to cvsrepo
 destination src-hg is a Mercurial repository