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

Re: One Fell Swoop Move or Copy

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-03-21 23:33:15 CET

On 3/21/2006 4:49 PM, Res Pons wrote:
> Ok, thanks and just to confirm... Generic * asterisks are not acceptable or
> translated by SVN to mean build6* means anthing that starts with build6?

Right. svn is designed following the Unix conventions that commands
don't see the asterisks, they're expanded by the shell.

> And I have to write my script cp or mv cmnd verbatim, meang svn mv
> ~/tags/build680 ~/tags/newfolder/ ?

Did you mean the ~ literally? That looks like a working copy move,
which would imply you have all your tags checked out. I was assuming
you'd do a repository move, with full URLs specified for both source and
dest. I think a repository move would be a lot faster.

Duncan Murdoch

>
> ----Original Message Follows----
> From: Duncan Murdoch <murdoch@stats.uwo.ca>
> To: Res Pons <pons32@hotmail.com>
> CC: users@subversion.tigris.org
> Subject: Re: One Fell Swoop Move or Copy
> Date: Tue, 21 Mar 2006 15:46:41 -0500
> MIME-Version: 1.0
> Received: from fisher.stats.uwo.ca ([129.100.76.201]) by
> bay0-mc3-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 21
> Mar 2006 12:46:42 -0800
> Received: from [192.168.0.176] (djm.stats.uwo.ca [129.100.76.113])by
> fisher.stats.uwo.ca (8.13.1/8.13.1) with ESMTP id k2LKkc03004835;Tue, 21 Mar
> 2006 15:46:38 -0500
> X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
> User-Agent: Thunderbird 1.5 (Windows/20051201)
> References: <BAY113-F22D6EA4E7D1C4271E51CF9CCD80@phx.gbl>
> Return-Path: murdoch@stats.uwo.ca
> X-OriginalArrivalTime: 21 Mar 2006 20:46:42.0539 (UTC)
> FILETIME=[8F5523B0:01C64D28]
>
> On 3/21/2006 3:20 PM, Res Pons wrote:
>> Hi everyone :)
>>
>> In one of my projects, I used to do my tagging right under the tags
>> subfolder. Recently, I created a subdirectory under my projects tags
>> subfolder matching each release name and I'd like to clean up by moving all
>> these other tags into the subfolder. With Tortoise Repo Browser, I find
>> this agonizingly slow as it won't allow me to do batch moves or copies but
>> painstakingly and slowly 1 by 1.
>>
>> Is there anyway through the svn cmd line I could do a mass copy as follows:
>>
>> svn mv http://blah/blah/tags/build*
>> http://blah/blah/tags/newsubfolder/build*
>
> I'd just build up a script of 1 by 1 moves, start it up, and go for a
> coffee, or lunch, or home to sleep, depending how slow "agonizing" is. You
> can use "svn ls http://blah/blah/tags/" to get some raw material for the
> script.
>
> Duncan Murdoch
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 21 23:35:03 2006

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