tumstech / cc2svn

Automatically exported from code.google.com/p/cc2svn
0 stars 0 forks source link

setLabelSpec() seems to require a dynamic view. #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run cc2svn.py against a static view.
2. Wait until "Checking labels" and you should get an error.

The error says something like "config spec should begin with 'element * 
CHECKEDOUT'".

What is the expected output? What do you see instead?

* Normal program flow.

What version of the product are you using? On what operating system?

* svn revision 4

Please provide any additional information below.

* ClearCase static views need a more complete configuration spec.  In 
addition to the error above, load rules would need to be transfered from 
the old config spec for the new config spec to work.

Original issue reported on code.google.com by walford....@gmail.com on 15 Dec 2009 at 9:55

GoogleCodeExporter commented 9 years ago
Here is a patch to add snapshot support.  This patch is against the files 
downloadable from cc2svn.tar.gz labeled temporary, March 05, 2010, not 
subversion.  It seems like subversion is out of date.

Snapshot views require a 'element * CHECKOUT' line and load rules in
the config spec.  Dynamic views don't, but the CHECKOUT rule doesn't hurt.
Parse the existing config spec and add any load rules found to the generated
config spec.  Dynamic views won't have load rules, so this doesn't hurt
either.

Original comment by da...@fries.net on 8 Jun 2010 at 12:59

Attachments: