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

Re: Tags Clean Up

From: Dave Grundgeiger <dave.grundgeiger_at_codenouveau.com>
Date: 2007-02-26 23:20:02 CET

Res Pons wrote:
> I could run svn mv command but the problem is I'm not sure the svn-cli
> would allow me to use wild cards. How do I achieve this in one command, do
> you know? My tags folder includes many tag subfolders in the following
> format: Buildnnn, where nnn is the next sequential number in the series.

I don't think that wildcards are an option, but I'm not an expert on svn
commands. One thing you could do is automatically build a batch file
containing a whole bunch of svn mv commands. Something like this:
1. Use svn ls to list the directories in your tags branch, but redirect the
output to a file.
2. If necessary, use grep to grab only the lines you want, redirecting the
output to another file.
3. Use search & replace in a text editor or word processor to massage the
lines into svn mv commands.
4. Execute the resulting file.

Dave

Dave Grundgeiger
CodeNouveau, LLC
Develop .NET Software with Open-Source Tools
http://www.codenouveau.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 26 23:20:55 2007

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.