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

Re: accessing an external-HD repo via windows

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Tue, 29 Jan 2008 09:17:07 +0000

On 29/01/2008, Kevin Hennessy <perk_at_theabsurd.org> wrote:
> Hi,
>
> Thanks for the comments Robert, Ron, and Simon,
>
> A server would be hard -- none of these machines are desktops or have
> fixed IP's. But now that I'm seeing how difficult it is to have the
> repo on an external HD, maybe I will brainstorm a way to go through
> svnserve....
>
> I created the repo on the HD when it was connected to an XP laptop.
> Cygwin reports there that the files are owned by perk:none. When I move
> the HD to a Vista laptop, cygwin there reports the files are owned by
> 4294967925:4294967925. I have no idea where those numbers came from.
> But that's why Vista laptop will not give me access to these files.

Hang on ... alarm bells. Are you using Windows or cygwin? You cannot
mix and match with working copy. Either you access it using Cygwin or
you access it using Windows, but not both. It *will* get corrupted.

> OK, I think it's clear that I'm trying to force something that is not
> meant to be.
>
> This is what I want:
>
> I want an ~30 Gb repo to follow me around wherever I go. Maybe today I'm
> coding on my laptop and want to commit the changes to the repo. Next
> week, maybe I'll go to a lab in Switzerland and work on a desktop
> there. In that case, I want my entire repo there and to be able to
> commit to it.
>
> My initial thought was that due to size/speed, the repo should be on a
> HD. For example, I don't want to download 30Gb to a new computer over
> the internet if I want to access my repo.

I think you are confusing repo and working copy. Just because the
repository is 30GB doesn't mean the working copy will be. You
checkout/update/commit a WC not a repository.

> Given all this, do you guys have suggestions for a "better way"?
>
> Now I'm leaning towards making a laptop+svnserv my be-all-end-all repo.
> And if I want to get a copy of the repo on a new computer, I would
> transfer over the local intranet. What do you think?

Leave the repo on your laptop with svnserve running. Checkout a
working copy onto the new computer, don't make a copy of the repo or
you will have multiple master repos with different content.

And don't forget to backup that repository. Laptops are not the most
reliable, and are also easily stolen.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-01-29 10:17:24 CET

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.