Hi.
I have a potential bug in svn (1.6.3) when updating a revprop
(log in this case). System: server is VisualSVN server 1.6.3, and client
is TortoiseSVN using svn 1.6.3. I have the correct pre-revprop-change
hook in the repository.
Now, the setup I have is that I've put a post-revprop-change
hook in that calls svnsync to a backup server, so when a revprop is
changed, the hook runs and syncs it to the server (so I always get my
changes copied, svnsync won't remember that a historic revprop has
changed otherwise).
When I attempt the revprop change, the whole chain fails when
running the sync. I get the error: "Unable to open an ra_local session
to URL" (of the destination I'm trying to sync to).
If I try the sync command on the command line, it works fine.
So - is it possible to get svnsync running in a
post-revprop-change hook, or have I missed something simple?
My hook is simple:
svnsync -non-interactive sync file:///s:/RepoBackup
svnsync -non-interactive copy-revprops file:///s:/RepoBackup %2
the first sync is to ensure all revisions are sync'ed before I try to
update the backup's revprop. There is a pre-revprop-change hook on the
backup repository to allow changes. Note that I can't use svnserve or
apache on the backup location, so I use the file protocol on a network
share. I can't change this.
Andy Bolstridge
Principal Application Engineer
Intergraph UK Ltd
SWINDON, Wiltshire, SN5 7XP. United Kingdon
P +44(0)1793 492416 F 1+44 (0)1793 694999 M 1+44 (0)7977 256882
andy.bolstridge_at_intergraph.com
<mailto:firstname.lastname_at_intergraph.com> , www.intergraph.co.uk
<http://www.intergraph.com>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2369331
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-09 12:09:45 CEST