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

Re: Noob has it fubar'd - any hope?

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2007-04-04 10:57:34 CEST

On Tuesday 03 April 2007 22:15, Bill Walton wrote:
> Greetings from newbie land! ;-p
>
> I've gotten things fubar'd beyond belief and would like recommendations on
> climbing out of this hole I've dug.
>
> A little background. I've been out of hands-on development for 15 years
> and decided last year to 'get back to my roots.' So I started learning
> Rails. Then I started working on a Rails app. Being out of hands-on mode
> for so long, I had lots and lots to learn. Bottom line is... I picked up
> "Pragmatic Version Control" way too late, and then didn't take the time to
> learn SVN well before I restarted coding on the app.

Okay, so far nothing seriously bad happened.

> I've got Subversion and TortiseSVN installed on my dev box (WinXP), and the
> Rails app's source code (the app is now released) is in one or more
> repositories. It's been a good six months since I took those first steps
> and I can't tell whether it's one repository or more.

Okay. When look at a WC's properties (or a versioned file's) you can see which
repository URL it came from. That way you should be able to find out where
and how many repositories you have, and what their content is.

BTW: If you believe you need to clean up a few things, start with making
backups now, i.e. dump every repository and perhaps also the working copies
to a CD/DVD.

> I'd really like to start fresh with Subversion and do it right this time.

You can still move things around so that they fit the trunk/branches/tags
schema, no need to start from scratch. Also, you don't wipe out your whole
project's history.

> But I can't figure out how.

First, see preparations for cleanup above. Then, you simply use the 'move'
command from SVN to move things where you want them. Then, I suggest you
remove all workingcopies and check out a new one from scratch. If this then
passes all you unittests as before, you know that the content of the
repositories is okay.

> Subversion tracks everything I do through Explorer.

No it doesn't track anything. TortoiseSVN hooks into the Explorer to display
some information about workingcopies. All other SVN principles still apply,
i.e. you can always create a new test repository anywhere and toy around with
it and afterwards delete it without affecting anything else!

> How should I proceed? Do I uninstall SVN? Then reinstall and then import
> the app? Any help would be really appreciated.

Stop panicking! ;)
As I said, make a backup now. Then make an assessment, which parts are in what
repositories and where, and then make a plan to move things where you want
them to be. Then, you move things around and remove the things you don't need
anymore. Check out afresh and test. Simple as that.

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 4 10:56:26 2007

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