Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tools & Utilities

Reply
 
LinkBack Thread Tools Display Modes
Old 01-06-2012, 01:50 PM   #1 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 33
smithms is on a distinguished road
Default Remove my project from SVN source control

I have inherited a project from someone that was using subversion source control. How do I permanently remove the project from source control?

I've tried removing the repository in Organizer but it just gets re-created each time I launch Xcode 4.2.

Thanks in advance.
smithms is offline   Reply With Quote
Old 01-07-2012, 06:09 PM   #2 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,005
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by smithms View Post
I have inherited a project from someone that was using subversion source control. How do I permanently remove the project from source control?

I've tried removing the repository in Organizer but it just gets re-created each time I launch Xcode 4.2.

Thanks in advance.


You need to delete all the hidden .svn folders from the project. Send me a PM with your email address and I'll email you a program I wrote that does exactly that. It involves doing a recursive walk of the project's directory structure, since every folder, sub-folder, and sub-sub-folder contains a .svn folder. I have seen complex projects that have almost 100 .svn folders in them. Finding and deleting them manually would be very tedious and error-prone.

A Unix script person could probably write a perl script to do the same thing. I'm not very good at Perl however, so I wrote a Mac program to do the same thing.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 03-14-2012, 11:49 PM   #3 (permalink)
Registered Member
 
Join Date: Feb 2012
Posts: 1
truongtnghia is on a distinguished road
Default

Quote:
Originally Posted by Duncan C View Post
You need to delete all the hidden .svn folders from the project. Send me a PM with your email address and I'll email you a program I wrote that does exactly that. It involves doing a recursive walk of the project's directory structure, since every folder, sub-folder, and sub-sub-folder contains a .svn folder. I have seen complex projects that have almost 100 .svn folders in them. Finding and deleting them manually would be very tedious and error-prone.

A Unix script person could probably write a perl script to do the same thing. I'm not very good at Perl however, so I wrote a Mac program to do the same thing.
Hi Duncan,

I got the same case, and i spend much times when remove .svn folder. If you can, please share me this Mac program via my email: truongtnghia@gmail.com

Thanks,
Nghia
truongtnghia is offline   Reply With Quote
Old 03-15-2012, 01:03 AM   #4 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 33
smithms is on a distinguished road
Default

Quote:
Originally Posted by Duncan C View Post
You need to delete all the hidden .svn folders from the project. Send me a PM with your email address and I'll email you a program I wrote that does exactly that. It involves doing a recursive walk of the project's directory structure, since every folder, sub-folder, and sub-sub-folder contains a .svn folder. I have seen complex projects that have almost 100 .svn folders in them. Finding and deleting them manually would be very tedious and error-prone.

A Unix script person could probably write a perl script to do the same thing. I'm not very good at Perl however, so I wrote a Mac program to do the same thing.
Duncan,

Thanks again for the script. It cleaned up my project perfectly. I thanked you awhile back via private message but just wanted to thank you publicly.

Mark
smithms is offline   Reply With Quote
Old 03-15-2012, 05:55 AM   #5 (permalink)
Daddy Cool
iPhone Dev SDK Supporter
 
MarkC's Avatar
 
Join Date: Mar 2009
Location: Yorkshire, England
Age: 100
Posts: 1,616
MarkC is on a distinguished road
Default

it's a one line command in a Terminal window:

cd to the top level project directory

find ./ -name .svn -exec rm -rf {} \;

job done.
MarkC is offline   Reply With Quote
Old 03-15-2012, 01:51 PM   #6 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,005
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by MarkC View Post
it's a one line command in a Terminal window:

cd to the top level project directory

find ./ -name .svn -exec rm -rf {} \;

job done.

Care to explain the indecipherable bit of command line magic to those of us who are not bash experts?
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Reply

Bookmarks

Tags
subversion, svn, xcode 4.2

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 458
15 members and 443 guests
7twenty7, brandon6031, David-T, Dj_kades, Elad, HemiMG, iAppDeveloper, jeroenkeij, LunarMoon, Mijator, Pauluz85, QuantumDoja, sacha1996, smithdale87, usernametaken
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,129
Posts: 402,928
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:18 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0