How to prefer ipv4 over ipv6?

2012-07-18 Thread James Cloos
Can one configure the subversion clients to prefer ipv4 over ipv6 when
both route to the target server?

I presume, if so, that it would be done via --config-option, yes?

I'm on 1.7.5, with neon for webdav.

I see that svnserve prefers ipv4 and has an option to instead prefer
ipv6, but I haven't found anything for the clients, yet.

Thanks,

-JimC
-- 
James Cloos  OpenPGP: 1024D/ED7DAEA6


Re: How to prefer ipv4 over ipv6?

2012-07-21 Thread James Cloos
>>>>> "BH" == Bert Huijben  writes:

BH> There is no configuration setting for this.

Unfortunate.

BH> I would recommend fixing your dns

There is nothing wrong with my dns.  And I have no control over the
remote sites.

BH> (probably by adding an ipv4 alias to the server)

Assumming that you were thinking of an A RR w/o a corresponding , in
parallel to the existing A and  RRs, adding a local override to my
resolver for each remote site would force v4, but is an ugly kludge more
likely the break as soon as a bit of time passes and the remote sites
move their services around.

BH> or running your server

Sorry, I thought I made it clear that I'm not running an svn server,
but rather using svn clients.

BH> A client setting would require all clients to be configured
BH> specifically, while DNS was invented to avoid that.

I wasn't looking for a client setting.  I was looking for a client
invocation argument.  The DNS has nothing to do with it.

I have both v4 adn v6 routes to the 'net, but the v4 is faster.

Support for the de-facto -4 and -6 args would be nice.  I'll have to
patch the src for it.  Thanks for the confirming that.  That will save
me some time.

-JimC
-- 
James Cloos  OpenPGP: 1024D/ED7DAEA6


snvsync issues

2014-05-16 Thread James Cloos
I occasionally get syncs which are stuck because something killed the
process before it could release its lock.

The only way I could get past that was to edit revprops/0/0 and remove
the svn:sync-lock lines.

Is there a command which will remove such stale svnsync locks?

Neither svn, svnadmin nor svnsync seem to be able to do so.  Or even to
list such locks.

Several of the remote repos which I'd like to sync fail part way through
with errors like:

   svnsync: E210008: Error while replaying commit

Git-svn is able to clone such repos, including the commits which svnsync
cannot replay, so it doesn't seem to be due to any corruption.

Is there any way past the error, without alternate access to the remote?

-JimC
--
James Cloos  OpenPGP: 0x997A9F17ED7DAEA6