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

Re: Repos on Linux (RH9), want to view offline on Windows

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-05-23 19:25:25 CEST

On 5/23/2006 1:15 PM, britainc@fifthorder.com wrote:
> Using SVN 1.3.1, I have a server (using the svnserver, not WebDAV) running
> on our main server, which works great. Clients are all Windows users using
> TortoiseSVN.
>
> I do daily backups of the repositories (using the hotcopy command) which I
> am able to restore on the linux server and access fine, so they seem valid.
> If I take the same backup (which was compressed to a tar.gz file after the
> hotcopy) and extract it on my laptop, I am unable to browse it with Tortoise
> or with the SVN command line tools. They complain about "Unable to open an
> ra_lcoal session to URL" and that FSFS is an unknown file type.
>
> I had thought that FSFS was supposed to be platform independent, so I
> figured what I was trying to do should be possible.
>
> I would really like to be able to copy the repositories onto my laptop so
> that when I am traveling, or otherwise disconnected from the internet, I can
> browse the source history.

I don't know about what you did, but two possibilities seem likely to work:

  - use svk to get a mirror of the repository.
  - use svnadmin dump on the server, svnadmin load on your PC.

Be careful not to do a commit to the portable copy of the repository.
The svnadmin dump method would mean you'd lose the new commit. svk has
a way to pass it on once you reconnect, but you need to remember to do it.

For uses like yours, it would be nice if you could ask to keep a copy of
the whole repository on your local machine instead of the text-base copy
of the latest version (i.e. something like svk, but not allowing commits
while you're offline).

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 23 19:27:18 2006

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

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