Hi all,
This is my first experiment with tailor...
I've a svn project and I'd like to use darcs .

Using the config file at the end, I've the following problem.

first I bootstrap my local svn repo:
#tailor --configfile educe.conf svn2darcs

then I modify my darcs repo:
# cd /tmp/tailor/educe/darcside/
# touch ooo
# darcs add ooo
# darcs record -a
What is the patch name? test
Do you want to add a long comment? [yn]n
Finished recording patch 'test'

then I try to sync my changes back in my local repo:
tailor --configfile educe.conf darcs2svn
....
Failure applying upstream changes: /tmp/tailor/educe/svnside $ svn
commit --file /tmp/tailor_9SHH0svn . returned status 1 saying
svn: Commit failed (details follow):
svn: Connection is read-only

I deduce that tailor is trying to sync back to the read-only svn repo...
how can I specify that I actually want it to sync to back to the local
repo ?

Moreover, This is ideally going to happen on the server either from a
cron or from a post-commit-hook. Do you have any tips on how to do it ?

This is my config file:

[DEFAULT]
verbose = True
projects = svn2darcs
patch-name-format = %(revision)s
refill-changelogs = True
encoding = utf8
encoding-errors-policy = ignore

[darcs2svn]
root-directory = /tmp/tailor/educe
source = darcs:tailor
target = svn:tailor
start-revision = HEAD
state-file = darcs2svn.state

[svn2darcs]
root-directory = /tmp/tailor/educe
source = svn:tailor
target = darcs:tailor
start-revision = HEAD
state-file = svn2darcs.state

[svn:tailor]
repository = svn://scm.gforge.inria.fr/svn/e-cduce
module = /
subdir = svnside

[darcs:tailor]
repository = /tmp/tailor/educe
subdir = darcside

thanks,
pietro

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

Reply via email to