Hello *,

I was trying to convert to a local hg repository from the openssh cvs.

The cmdl describe on the download page are:
(see <http://www.openssh.org/portable.html#mirrors>)

# export [EMAIL PROTECTED]:/cvs
# export CVS_RSH=/usr/bin/ssh
# cvs get openssh

which are working fine ;-)


After some test, I finaly find a tailor configfile convenient to me:

[DEFAULT]
verbose = True
encoding = ANSI_X3.4-1968
encoding-errors-policy = ignore

[project]
target = hg:target
start-revision = INITIAL
root-directory = /Develop/jso/Tailor/Example
state-file = tailor.state
source = cvs:source
subdir = .

[hg:target]
module = /
repository = file:///Develop/jso/Openssh+SecurID/openssh.hg
subdir = migrated

[cvs:source]
module = openssh
repository = [EMAIL PROTECTED]:/cvs
subdir = original

But each run always failed:
$ cvs -f -d [EMAIL PROTECTED]:/cvs rlog -r:HEAD -b openssh returned status 1, 
retrying in [248] seconds...

As I suspected that the CVS_RSH env var wasn't forwarded to this cmdl by 
python, I wrote this very small cvs script:
#!/bin/sh

export [EMAIL PROTECTED]:/cvs
export CVS_RSH=/usr/bin/ssh
/usr/bin/cvs "$@"

and put it in my favorite user PATH env e.g. /home/myaccount/bin and set up 
PATH=/home/myaccount/bin:$PATH.

This tips seems to help tailor's job ;-)
(even after another network pb, I can restart where job was stopped ;-) )

That said I don't have any python's clue and so I haven't any idea how could it 
be possilbe to grab those CVS env variable
and/or put it python variable to forward them to the env of the cvs cmdl, sorry.

Thanks in advance for your attention,
        r.

PS: I have a slow network connection, can you advise me how can I ask to tailor 
to wait more then 8 seconds before it failed?


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

Reply via email to