[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SVN::Push or svn-push.c

From: Christophe Labouisse <gabuzo_at_tigris.org>
Date: 2004-04-26 14:43:42 CEST

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
Received on Mon Apr 26 14:44:19 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.