changeset 5364:645a40777fd4

test-convert-cvs: handle older cvs client
author Christian Ebert <blacktrash@gmx.net>
date Wed, 03 Oct 2007 21:01:47 +0200
parents 1df76921aab3
children ac2ccdcf4539 8ab7de07f40e
files tests/test-convert-cvs tests/test-convert-cvs.out
diffstat 2 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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