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

Re: Advice for changing filename case in SVN on case insensitive system

From: Geoff Hoffman <ghoffman_at_cardinalpath.com>
Date: Thu, 20 Jun 2013 15:56:33 -0700

Yes, that helps, Dave, thanks.

But,

deleting the file from Subversion, then adding the copy with the correct
case.

Question: Doesn't that blow away revision history? If I didn't care about
revision history I would just start over with a fresh repo.

I also thought about doing full URL svn mv's but seemed like that could
take a very long time to do...

Geoff Hoffman
Solutions Architect & LAMP Engineer
phone +1 623.399.4918
mobile +1 480.231.8323
web CardinalPath.com <http://goo.gl/TuuiO>

On Thu, Jun 20, 2013 at 3:45 PM, Dave Huang <khym_at_azeotrope.org> wrote:

> On 6/20/2013 5:34 PM, Geoff Hoffman wrote:
>
>> We have a bunch of Kohana 3.2 projects in revision control, all with
>> lower case filenames.
>>
>> We're upgrading to Kohana 3.3; one of the main changes to Kohana 3.3 is
>> implementing PSR-0 filename conventions, which require the class
>> Model_Myclass to be found in Model/Myclass.php ... in our current repo it's
>> in model/myclass.php (all lower case).
>>
>> I thought I could just svn rename, however I'm confused by the output I'm
>> seeing:
>>
>> svn rename myclass.php Myclass.php
>> svn: E155007: Path '/Full/Path/To/Myclass.php' is not a directory
>>
>
> Perhaps http://subversion.apache.org/**faq.html#case-change<http://subversion.apache.org/faq.html#case-change>might be helpful.
>
> (Interesting/surprising that SVN 1.7 only fixed svn rename on Windows, but
> not on other OSes with case-insensitive filesystems like MacOS X)
>

-- 
Connect with us on twitter <http://twitter.com/cardinalpath>, google+<https://plus.google.com/108076800625872227241/posts>
, facebook <http://www.facebook.com/CardinalPath>, or linkedin<http://www.linkedin.com/company/cardinal-path>
.
Catch our next training in San Diego Jun 17 - 21<http://training.cardinalpath.com/google-adwords-analytics/san-diego/?utm_campaign=cp-cpt&utm_source=sig-referral&utm_medium=email&utm_content=sandiego-2013-06-17>
, Tampa Jun 24 -28<http://training.cardinalpath.com/google-adwords-analytics/tampa/?utm_campaign=cp-cpt&utm_source=sig-referral&utm_medium=email&utm_content=tampa-2013-06-24>
, Austin, Jul 8 - 12<http://training.cardinalpath.com/google-adwords-analytics/austin/?utm_campaign=cp-cpt&utm_source=sig-referral&utm_medium=email&utm_content=austin-2013-07-08>
, San Francisco Jul 15 - 19<http://training.cardinalpath.com/google-adwords-analytics/san-francisco/?utm_campaign=cp-cpt&utm_source=sig-referral&utm_medium=email&utm_content=sanfrancisco-2013-07-15#2013-07-15>
 or See All<http://training.cardinalpath.com/locations/?utm_campaign=cp-s4s&utm_source=cp-email-footer&utm_medium=email&utm_content=see-all>
.
This email, including any attachments, is for the sole use of the intended 
recipient and may contain confidential information. If you are not the 
intended recipient, please immediately notify us by reply email or by 
telephone, delete this email and destroy any copies. Thank you.
Received on 2013-06-21 00:57:04 CEST

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.