changeset 7503:09508f8e2fa4

test-convert-cvs-builtincvsps: test debugcvsps command
author Patrick Mezard <pmezard@gmail.com>
date Wed, 10 Dec 2008 17:47:56 +0100
parents 16905fc2690f
children d8cd79fbed3c
files tests/test-convert-cvs-builtincvsps tests/test-convert-cvs-builtincvsps.out
diffstat 2 files changed, 72 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-convert-cvs-builtincvsps	Wed Dec 10 14:02:54 2008 +0000
+++ b/tests/test-convert-cvs-builtincvsps	Wed Dec 10 17:47:56 2008 +0100
@@ -102,3 +102,7 @@
 
 echo "graphlog = " >> $HGRCPATH
 hg -R src-hg glog --template '#rev# (#branches#) #desc# files: #files#\n'
+
+echo % testing debugcvsps
+cd src
+hg debugcvsps | sed -e 's/Author:.*/Author:/' -e 's/Date:.*/Date:/' 
--- a/tests/test-convert-cvs-builtincvsps.out	Wed Dec 10 14:02:54 2008 +0000
+++ b/tests/test-convert-cvs-builtincvsps.out	Wed Dec 10 17:47:56 2008 +0100
@@ -136,3 +136,71 @@
 |/
 o  0 () Initial revision files: a b/c
 
+% testing debugcvsps
+collecting CVS rlog
+8 log entries
+creating changesets
+5 changeset entries
+---------------------
+PatchSet 1 
+Date:
+Author:
+Branch: HEAD
+Tag: (none) 
+Log:
+Initial revision
+
+Members: 
+	a:INITIAL->1.1 
+	b/c:INITIAL->1.1 
+
+---------------------
+PatchSet 2 
+Date:
+Author:
+Branch: INITIAL
+Tag: start 
+Log:
+import
+
+Members: 
+	a:1.1->1.1.1.1 
+	b/c:1.1->1.1.1.1 
+
+---------------------
+PatchSet 3 
+Date:
+Author:
+Branch: HEAD
+Tag: (none) 
+Log:
+ci0
+
+Members: 
+	b/c:1.1->1.2 
+
+---------------------
+PatchSet 4 
+Date:
+Author:
+Branch: HEAD
+Tag: (none) 
+Log:
+ci1
+
+Members: 
+	a:1.1->1.2 
+	b/c:1.2->1.3 
+
+---------------------
+PatchSet 5 
+Date:
+Author:
+Branch: branch
+Tag: (none) 
+Log:
+ci2
+
+Members: 
+	b/c:1.1->1.1.2.1 
+