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

RE: tag rename fails to delete on svnsync mirror

From: Jones, Gretchen <Gretchen.Jones_at_kc.frb.org>
Date: Thu, 30 Jan 2014 18:59:19 +0000

Yes, everything is syncing perfectly (AFAIK), No errors are encountered.

But in this case:
I create a tag on the master, it syncs to the mirror
I rename that tag on the master, it syncs to the mirror
        The new tag is present on the mirror but the old tag is not removed.

My gut says it must have something to do with delete permissions, but after an hour of searching the listserve messages I gave up on that.

(we are not using the post commit hook to sync, but instead a scheduled task script because the developers thought it (post-commit-hook) was causing too much delay on commits). Again no errors, the revision numbers are perfectly in sync.

The only reason this is a problem is that we use these tags to build remotely and it causes confusion with our non-technical build users when they see duplicate tags with a single character different. (We use a date in the build tag and someone keeps using 2013 instead of 2014)

I would expect that the same "complete" transaction that occurred on the master would occur on the mirror.

Gretchen Jones

-----Original Message-----
From: Ben Reser [mailto:ben_at_reser.org]
Sent: Thursday, January 30, 2014 11:04 AM
To: Jones, Gretchen; users_at_subversion.apache.org
Subject: Re: tag rename fails to delete on svnsync mirror

On 1/30/14, 8:52 AM, Jones, Gretchen wrote:
> Can anyone explain why a tag "renamed" on the master repository is not
> replicated identically on a mirror? A new tag is created on the mirror
> but the old tag is not removed on the mirror. SVN 1.7.4

There isn't really sufficient information to give a definitive answer. I'd guess since you're talking about a master and mirror that you're using a master/slave setup. In order for changes to get from the master to the slave there needs to be an svnsync run. Usually that's done via a commit hook. Are you sure your hooks are working?
Received on 2014-01-30 19:59:56 CET

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