diff tests/test-fastimport-cvs2git-fixup @ 42:71f1e5ed6213

Convert "lightweight" tags, since that's how cvs2git handle CVS tags. - add lightweight_tags attr to HgImportProcessor - modify reset_handler() to detect and record lightweight tags - add write_lightweight_tags() method to add them all in one commit - update test-fastimport-cvs2git-fixup
author Greg Ward <greg-hg@gerg.ca>
date Sun, 10 May 2009 12:00:23 -0400
parents 177a133519bc
children 61ff7b929cea
line wrap: on
line diff
--- a/tests/test-fastimport-cvs2git-fixup	Sun May 10 10:27:18 2009 -0400
+++ b/tests/test-fastimport-cvs2git-fixup	Sun May 10 12:00:23 2009 -0400
@@ -124,13 +124,16 @@
 
 echo "% hg glog"
 cd realcvs
-hg glog -v
+template="rev:    {rev}\nauthor: {author}\nbranch: '{branches}'  tags:   {tags}\nfiles:  {files}\ndesc:   {desc}\n\n"
+hg glog -v --template="$template"
 
 echo "% hg branches"
-hg branches
+# Exclude default since its changeset ID is different with every run.
+# (Same thing with tags and tip below.)
+hg branches | grep -v "^default"
 
 echo "% hg heads -v"
-hg heads
+hg heads --template="$template"
 
 echo "% hg tags -v"
-hg tags
+hg tags | grep -v "^tip"