You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Christophe Labouisse <ga...@tigris.org> on 2004/04/26 12:43:42 UTC
SVN::Push or svn-push.c
I'm trying to find a way to push changes from a repository to another. So
far I've tried SVN::Push 0.02 and svn-push.c from subversion's contrib
directory but so far both failed.
SVN::Push give me the following result:
svnpush init file:///home/moi/svn/testrepos file:///home/moi/svn/mirror
Bad URL passed to RA layer: Unrecognized URL scheme 'HASH(0x8488e18)' at
/usr/local/share/perl/5.8.3/SVN/Push.pm line 440
svn-push.c compiles ok with a I've a bad feeling warning:
contrib/client-side/svn-push/svn-push.c: In function `do_job':
contrib/client-side/svn-push/svn-push.c:116: warning: passing arg 2 of
pointer to function from incompatible pointer type
and then core dumps when run:
$ svn-push -r 0:10 file:///home/moi/svn/testrepos
file:///home/moi/svn/mirror
Segmentation fault (core dumped)
(gdb) where
#0 0x4002d711 in svn_repos_dir_delta (src_root=0x80aee08,
src_parent_dir=0x804fd80 "",
src_entry=0x0, tgt_root=0x80b2ef0, tgt_fullpath=0x804fd88 "",
editor=0x804fcb0,
edit_baton=0x80a8d70, authz_read_func=0, authz_read_baton=0x0,
text_deltas=0, recurse=0,
entry_props=0, ignore_ancestry=1, pool=0x804e0a0) at
subversion/libsvn_repos/delta.c:233
#1 0x40034d71 in finish_report (report_baton=0x804fd28, pool=0x804e0a0)
at subversion/libsvn_repos/reporter.c:471
#2 0x40034e6c in svn_repos_finish_report (report_baton=0x804fd28,
pool=0x804e0a0)
at subversion/libsvn_repos/reporter.c:495
#3 0x40025949 in reporter_finish_report (reporter_baton=0x0, pool=0x0)
at subversion/libsvn_ra_local/ra_plugin.c:108
#4 0x08048bf2 in do_job (pool=0x804e0a0, src_url=0x1 <Address 0x1 out of
bounds>,
dest_url=0xbffffb12 "file:///home/moi/svn/mirror", start_rev=0,
end_rev=0)
at contrib/client-side/svn-push/svn-push.c:138
#5 0x08048d0a in main (argc=5, argv=0xbffff9c4) at
contrib/client-side/svn-push/svn-push.c:183
My first guess is that both tools are outdated since I use svn 1.0.2.
--
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: SVN::Push or svn-push.c
Posted by Gerald Richter <ri...@ecos.de>.
>
> SVN::Push give me the following result:
>
> svnpush init file:///home/moi/svn/testrepos
> file:///home/moi/svn/mirror Bad URL passed to RA layer: Unrecognized
> URL scheme 'HASH(0x8488e18)' at
> /usr/local/share/perl/5.8.3/SVN/Push.pm line 440
>
Looks like a bug in the init command. I take a look at it.
Could you try
svnpush push -c file:///home/moi/svn/testrepos file:///home/moi/svn/mirror
>
> My first guess is that both tools are outdated since I use svn 1.0.2.
I don't know about svnpush.c, but SVN::Push works with 1.02
Gerald
---------------------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 939-122
WWW: http://www.ecos.de/ Fax: +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der KOMCOM 2004 in Mannheim
25. bis 27. Mai 2004 Stand K11a www.komcom.de
ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org