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

Re: 2 quick easy queries ;)

From: Stefan KŁng <tortoisesvn_at_gmail.com>
Date: 2006-02-17 11:17:15 CET

On 2/17/06, KevinGPO <kevingpo@hotmail.com> wrote:
> I installed Subversion & TortoiseSVN on my PC at work, and on my laptop at
> home.
> I created an empty folder "SVNRepo" on my portable USB HD and made it a
> repository.

I assume you created a repository inside that folder with "create
repository here"?

> I copied a folder of work files "SVNDepot" onto my portable USB HD. Then I
> right-clicked it and "Import..." command. I chose the repository and it
> seemed to import successfully.

Be careful with your naming here. 'Depot' is not a Subversion term,
but used by some other version control systems for things either
Subversion doesn't have or Subversion has some completely different
names for. So by using "Depot" you just add to the confusion.

Here, I recommend the name "original_sources".

> QUERY 1: Then on my work PC I right-clicked an empty folder called
> "SVNDepot" and "SVNCheckout" command. After doing a couple of changes and

Here again, "SVNDepot" is a confusing name. Name it after your
project. And when you refer to it with us, the correct term would be
"working copy", because that's a copy of your sources you work on.

> commits I notice that the "SVNDepot" on the USB HD has not changed and are
> still the originals. Are all the files stored inside the "SVNRepo"
> repository folder and so I don't need the USB's "SVNDepot" folder?

Correct, you don't need that folder. After you imported those files
into the repository, you can safely delete that folder. All commits
then go to the repository, not your 'depot' folder (which I already
mentioned you should rather call "original_sources").

> QUERY 2: I took my USB HD home and connected it to my laptop. I am trying to
> use the "SVNRepo" repository on the USB HD but couldn't figure out how. I
> right-clicked on it and selected import and chose "SVNRepo" to import. Then
> it seemed to be importing itself?!?! It got to a massive file and then it
> aborted saying it couldn't import it. Did I mess up my SVNRepo?

You only import *once*. After that, you don't import files anymore but commit.

If you want to work on different computers on your project, "check
out" a separate "working copy" on each of those computers. All you
have to do is check out from the repository on your USB HD.

You really recommend you start reading our docs...


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Feb 17 11:21:48 2006

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.