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

Re: [TSVN] TortoiseSVN - FAQ

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-02-28 10:18:50 CET

Minh Nguyen wrote:
> You showed me the way, now can you show me the door out, please.
> I don't know which SVN book you were referring to that talks
> about svnadmin dump/load. Is it the document under Docs from the
> website? I've heard of this "holy" book from the person that
> installed this program. He's not here right today.

If you look up "subversion book" the help file for TSVN it tells you
that you can find it at:
http://svnbook.red-bean.com/

> I'm
> determined to remove this mess of revisions I made.. not as much
> because of pride but more of because i'm obsessive and hate it
> when things are not organized (it's a curse!).

I think you misunderstand the concept of 'never throw anything away'.
Subversion always stores the entire history of a project, but it only
shows you the current state, not everything. So:

Add FileA.c, FileB.c, FileC.c
Commit (Rev 1)
Add FileD.h
Commit (Rev 2)
Oops! FileA.c is junk. Remove it.
Commit (Rev 3)

Rev 1 contains FileA.c FileB.c FileC.c
Rev 2 contains FileA.c FileB.c FileC.c FileD.h
Rev 3 contains FileB.c FileC.c FileD.h

Anyone who checks out at Rev 3 or later, or updates their WC will not
see FileA.c at all. It no longer appears in the working copy. The only
place you can see it is if you look at the folder history, then you can
go back to older revisions and possibly retrieve that file if you need
to. But any 'untidiness' is hidden away in the repository history. The
head revision looks perfectly tidy.

The same goes for file/directory renames, branches, tags, etc. You can
remove unwanted branches using the repository browser. Again, the branch
still exists in the repo history, but you won't see it looking at the
head revision.

> I don't have a
> current working copy and I'm the only one working with
> TortoiseSVN right now, so really, there is no string attached.

Make sure you keep a backup of the repository before you change it,
because if anything goes wrong with your editing, it won't be just the
last 3 revisions you lose, it will be everything.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Feb 28 10:43:07 2005

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

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