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

Re: Renaming multiple files

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 13 Jun 2013 14:44:31 -0400

On Thu, Jun 13, 2013 at 2:36 PM, BladeOfLight16
<bladeoflight16_at_gmail.com> wrote:
> Disclaimer: I'm not a TortoiseSVN dev
>
> This is more of an issue with SVN than TortoiseSVN, but my guess is that the
> commands lines tools (at least this function) don't work on the server
> directly.

The command-line client operates on repository URLs just fine. It most
likely uses the same API as the repository browser does.

> Try checking out a local copy, using the rename command on the
> local copy, and then commit the changes if you are satisfied. You might want
> to test it on a branch before doing it on trunk just to be safe.
>
>
> On Thu, Jun 13, 2013 at 1:46 PM, George Love <geo_love_at_cox.net> wrote:
>>
>> Hi,
>>
>>
>>
>> I’ve been banging around all of the local haunts for help with this
>> project, and all of that has led me here. I’m hoping that you won’t mind
>> helping out.
>>
>>
>>
>> I have a TortiseSVN repository with thousands of files, and we want to
>> change the file naming convention and update all of the existing files using
>> the new naming convention. This would be far too much work to do through
>> the GUI, so I’m looking at doing the work from the command line.
>>
>>
>>
>> I’ve tried many combinations of argument formats for the SVN RENAME
>> command, but all return some error or another. Here are some examples:
>>
>>
>>
>> C:\work-temp>svn rename
>> http://RepoServer/trunk/dynamics/Codeunit/Codeunit3G_L Account-Indent.txt
>> http://RepoServer/trunk/dynamics/AllObj/C0000000003.txt
>>
>> svn: E200007: Cannot mix repository and working copy sources
>>
>>
>>
>> C:\work-temp>svn rename
>> "http://RepoServer/trunk/dynamics/codeunit/Codeunit3G_L Account-Indent.txt"
>> "http://RepoServer/trunk/dynamics/allobj/C0000000003.txt"
>>
>> svn: E160013:
>> 'RepoServer/!svn/bc/12369/trunk/dynamics/codeunit/Codeunit3G_L%20Account-Indent.txt'
>> path not found
>>
>>
>>
>> C:\work-temp>svn rename "c:\objects\dynamics\codeunit\Codeunit3G_L
>> Account-Indent.txt" "c:\objects\dynamics\allobj\C0000000003.txt"
>>
>> svn: E155007: 'C:\objects\dynamics\codeunit\Codeunit3G_L
>> Account-Indent.txt' is not a working copy
>>
>>
>>
>> I’m starting to look at the tortoiseproc /command:rename option for a
>> command line, but don’t find any information about the target filename
>> argument. I see the /path: argument, but don’t see any way to specify the
>> target file name.
>>
>>
>>
>> If you can point me toward any resources that might help shed light on the
>> project, I’d be really appreciative.
>>
>>
>>
>> Kind regards,
>>
>> George Love
>>
>> geo_love_at_cox.net
>>
>>
>>
>>
>
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3058016

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-06-13 20:45:17 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.