Discussion:
How do I include cvs2svn command line options into the options file?
Bo Berglund
2017-12-08 11:32:19 UTC
Permalink
I am very confused about the vast difference between the cvs2svn
command line options and what is visible in he example options file...

When I run into trouble with a conversion some suggestions are printed
on the console but they all target adding something to the command
line, which I cannot do because I use an options file and then command
line options are prohibited.

And the options file syntax seems to be completely different from the
command line...

Please advice, I have read the documentation but it fails to mention
this at least where I have read.
--
Bo Berglund
Developer in Sweden
Branko Čibej
2017-12-08 11:41:48 UTC
Permalink
Post by Bo Berglund
I am very confused about the vast difference between the cvs2svn
command line options and what is visible in he example options file...
When I run into trouble with a conversion some suggestions are printed
on the console but they all target adding something to the command
line, which I cannot do because I use an options file and then command
line options are prohibited.
And the options file syntax seems to be completely different from the
command line...
Please advice, I have read the documentation but it fails to mention
this at least where I have read.
When in doubt, use the source. This is where the command-line flags and
options from the file are merged:

http://cvs2svn.stage.tigris.org/source/browse/cvs2svn/trunk/cvs2svn_lib/svn_run_options.py?revision=5027&view=markup

-- Brane
Bo Berglund
2017-12-08 11:49:29 UTC
Permalink
Post by Branko Čibej
Post by Bo Berglund
And the options file syntax seems to be completely different from the
command line...
Please advice, I have read the documentation but it fails to mention
this at least where I have read.
When in doubt, use the source. This is where the command-line flags and
http://cvs2svn.stage.tigris.org/source/browse/cvs2svn/trunk/cvs2svn_lib/svn_run_options.py?revision=5027&view=markup
-- Brane
Problem is I am a Pascal (Delphi) and embedded C programmer and have
no exposure at all to Python, except by using ready-made Python
systems sich as cvs2svn and the roundup issue tracker.
I could not decode Python code at all...
--
Bo Berglund
Developer in Sweden
Nico Kadel-Garcia
2017-12-08 20:48:54 UTC
Permalink
Post by Branko Čibej
Post by Bo Berglund
I am very confused about the vast difference between the cvs2svn
command line options and what is visible in he example options file...
When I run into trouble with a conversion some suggestions are printed
on the console but they all target adding something to the command
line, which I cannot do because I use an options file and then command
line options are prohibited.
And the options file syntax seems to be completely different from the
command line...
Please advice, I have read the documentation but it fails to mention
this at least where I have read.
When in doubt, use the source. This is where the command-line flags and
http://cvs2svn.stage.tigris.org/source/browse/cvs2svn/trunk/cvs2svn_lib/svn_run_options.py?revision=5027&view=markup
-- Brane
Or use the process of elimination. Use the simplest example version,
don't do *any* sophisticated options, only do the master, etc., to get
the simplest transformation. If that works at all, activate one simple
after another. And pub your changes to that file in a local source
control as you make changes! Even RCS on local files can be useful if
don't want to create a repo for such local development.

Loading...