You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Res Pons <po...@hotmail.com> on 2006/03/21 20:20:11 UTC

One Fell Swoop Move or Copy

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*

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: One Fell Swoop Move or Copy

Posted by Res Pons <po...@hotmail.com>.
Hey this is great, exactly what I wanted, thank you so much :)

----Original Message Follows----
From: Duncan Booth <du...@suttoncourtenay.org.uk>
Reply-To: duncan.booth@suttoncourtenay.org.uk
To: users@subversion.tigris.org
Subject: Re: One Fell Swoop Move or Copy
Date: Wed, 22 Mar 2006 11:32:06 +0000 (UTC)
MIME-Version: 1.0
Received: from tigris.org ([64.125.133.100]) by bay0-mc3-f6.bay0.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.1830); Wed, 22 Mar 2006 03:50:39 -0800
Received: (qmail 12441 invoked by uid 5000); 22 Mar 2006 11:50:28 -0000
Received: (qmail 12425 invoked from network); 22 Mar 2006 11:50:27 -0000
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
Mailing-List: contact users-help@subversion.tigris.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
list-help: <ma...@subversion.tigris.org>
list-unsubscribe: <ma...@subversion.tigris.org>
list-post: <ma...@subversion.tigris.org>
Delivered-To: mailing list users@subversion.tigris.org
X-Injected-Via-Gmane: http://gmane.org/
Lines: 33
References:  <BA...@phx.gbl>
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: grail1.oxfam.org.uk
User-Agent: Xnews/05.08.12 Hamster/2.1.0.0
X-Face: 
.C;/v3#w@2k.C(.1v-}d=`|7AQ-%,#A$0ZGtAkLPvuawAM>3#D,pXaAb31%(=Gn2ZZK/Z~fd0y4't5iKK~F":}F2*|\mQYX+BUr4ZM*|+`@o-TKzFGwsJnan{)*b~QJ-Fu^u'$$nYV
Return-Path: users-return-46867-pons32=hotmail.com@subversion.tigris.org
X-OriginalArrivalTime: 22 Mar 2006 11:50:40.0385 (UTC) 
FILETIME=[D79BA710:01C64DA6]

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*
 >
If you have, or can turn on, WebDAV and autoversioning then there is
another option:

Download Netdrive from
http://support.novell.com/servlet/filedownload/uns/pub/ndrv41862.exe/

See http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.webdav for
instructions on configuring SVN.

Use Netdrive to connect a drive letter to your Subversion repository, then
just start up Windows explorer and use drag/drop to rearrange your tag
folder.

Normally I loathe using WebDAV to access a subversion repository (you will
get a lot of automatically generated (and completely useless) entries in
the log) but for something like this it seems justified.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: One Fell Swoop Move or Copy

Posted by Duncan Booth <du...@suttoncourtenay.org.uk>.
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*
> 
If you have, or can turn on, WebDAV and autoversioning then there is 
another option:

Download Netdrive from 
http://support.novell.com/servlet/filedownload/uns/pub/ndrv41862.exe/

See http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.webdav for 
instructions on configuring SVN.

Use Netdrive to connect a drive letter to your Subversion repository, then 
just start up Windows explorer and use drag/drop to rearrange your tag 
folder.

Normally I loathe using WebDAV to access a subversion repository (you will 
get a lot of automatically generated (and completely useless) entries in 
the log) but for something like this it seems justified.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: One Fell Swoop Move or Copy

Posted by Res Pons <po...@hotmail.com>.
Sorry by '~' I meant anything perceding the tags subfolder.  In any case you 
made it very clear.  Thank you very much for your help :)

----Original Message Follows----
From: Duncan Murdoch <mu...@stats.uwo.ca>
To: Res Pons <po...@hotmail.com>
CC: users@subversion.tigris.org
Subject: Re: One Fell Swoop Move or Copy
Date: Tue, 21 Mar 2006 17:33:15 -0500
MIME-Version: 1.0
Received: from fisher.stats.uwo.ca ([129.100.76.201]) by 
bay0-mc5-f17.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 21 
Mar 2006 14:33:25 -0800
Received: from [127.0.0.1] 
(IDENT:U2FsdGVkX1+u//OswNpHTfPty9LIWWTGo6UW7r0QB00@localhost.localdomain 
[127.0.0.1])by fisher.stats.uwo.ca (8.13.1/8.13.1) with ESMTP id 
k2LMXOZ2007187;Tue, 21 Mar 2006 17:33:24 -0500
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
User-Agent: Thunderbird 1.5 (Windows/20051201)
References: <BA...@phx.gbl>
Return-Path: murdoch@stats.uwo.ca
X-OriginalArrivalTime: 21 Mar 2006 22:33:25.0435 (UTC) 
FILETIME=[77C188B0:01C64D37]

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 <mu...@stats.uwo.ca>
>To: Res Pons <po...@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: <BA...@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/

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: One Fell Swoop Move or Copy

Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
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 <mu...@stats.uwo.ca>
> To: Res Pons <po...@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: <BA...@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

Re: One Fell Swoop Move or Copy

Posted by Res Pons <po...@hotmail.com>.
Ok, thanks and just to confirm... Generic * asterisks are not acceptable or 
translated by SVN to mean build6* means anthing that starts with build6?  
And I have to write my script cp or mv cmnd verbatim, meang svn mv 
~/tags/build680 ~/tags/newfolder/  ?

----Original Message Follows----
From: Duncan Murdoch <mu...@stats.uwo.ca>
To: Res Pons <po...@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: <BA...@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

Re: One Fell Swoop Move or Copy

Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org