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

Moving a large number of tags in one revision?

From: Marc Sherman <msherman_at_projectile.ca>
Date: 2005-07-14 16:01:03 CEST

Our repository currently contains a large number of build tags in the
/tags directory. These were automatically created by anthill, and
migrated into our new svn repository using cvs2svn. When I reconfigured
anthill for the new svn server, I set it up to create new build tags
within /tags/builds, just to keep things organized. Now, I'd like to
move the old tags from before that change into the builds subdir, too.

Is there any way to move a large number of tags in a single revision?
Here's a few ideas I had that didn't work:

1) wildcards don't work on urls:
svn mv http://server/repo/tags/v_* http://server/repo/tags/builds -m
"cleanup tags"

2) I tried checking out a non-recursive working copy of the tags dir,
and then within that a non-recursive working copy of each of the
individual tags using a script, and then using "svn mv v_1.0.0.1 builds"
within the working copy. That gave me an error because as far as svn is
concerned, there's no connection between the tags WC and the individual
tag WCs within them.

3) Checking out a full WC of the tags dir is not possible, the tree
would just be too huge.

Any suggestions? Or am I stuck with a script to move each tag one
revision at a time using individual URL-based svn mv commands?

- Marc

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 14 16:02:55 2005

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.