I Ken, sorry for the delayed answer...

Ken Cavanaugh wrote:
I am trying to use tailor to sync up changes from a mercurial repository
to a CVS repository.
I am using the following config file:
--------------------------------------------
[DEFAULT]
verbose = True
debug = True
projects = CorbaToCVS

[CorbaToCVS]
root-directory = /volumes/IDE/tailor
subdir = work-area
state-file = tailor.state
source = hg:source
target = cvs:target
start-revision = INITIAL

[hg:source]
repository = /volumes/ws/oss-work-new

[cvs:target]
module = glassfish-corba
repository = :pserver:[EMAIL PROTECTED]:/cvs
-----------------------------------------------

The first operation that tailor attempts is:

2006-09-14 18:22:34     INFO: $ cvs
-d :pserver:[EMAIL PROTECTED]:/cvs co
-d /volumes/IDE/tailor/work-area glassfish-corba
2006-09-14 18:22:36  WARNING: [Status 1]

This makes no sense, as the -d /volumes/IDE/tailor/work-area is wrong
for CVS.

Why do you think is wrong? Tailor wants to checkout the repo in a particular directory, and that's the way to do it, isn't it?

tailor then proceeds to check out all of the mercurial files and
construct a new Mercurial
repository in the work-area directory.  At the end, tailor attempts to
add all of the
files to cvs using:

cvs -q add -ko <file name list>

which seems to be correct, but tailor has not checked for file
differences (perhaps because the original co
failed?).

Also, there are no hg commands at all in the CorbaToCVS.log file, but
work-area is a valid Mercurial
repository, with a single changeset containing everything in the
original Mercurial repository.

Assuming you meant "original CVS repository", that's the way tailor works. As for the "missing" hg commands in the log, that's because tailor uses the native mercurial library, and not the external command line interface. I agree that the hg backend could and should emit some noise about the actions it is executing.

If you want the whole history, you should put "start-revision=INITIAL" in the configuration, since the default for that option is HEAD, that is, current "tip" of the source repository.


Any assistance you can offer would be greatly appreciated.

Hope this helps a little, see the wiki[*] for other info, and do not hesitate to ask about whatever is missing there :-)

ciao, lele.

[*] http://progetti.arstecnica.it/tailor/
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to