[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: Res Pons <pons32_at_hotmail.com>
Date: 2007-02-27 00:25:48 CET

True, I found out that I couldn't run wildcards. Bummer. Thanks for your
sugesstion. I did end up writing a huge batch file before I saw your email!

----Original Message Follows----
From: "Dave Grundgeiger" <dave.grundgeiger@codenouveau.com>
To: "Res Pons" <pons32@hotmail.com>
CC: <users@subversion.tigris.org>
Subject: Re: Tags Clean Up
Date: Mon, 26 Feb 2007 16:20:02 -0600

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

_________________________________________________________________
Win a Zune™—make MSN® your homepage for your chance to win!
http://homepage.msn.com/zune?icid=hmetagline

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 27 00:26:15 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.