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

Re: Cygwin repositories

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-12-13 10:16:38 CET

Bill Baxter wrote:
> Hi, I've got a bit of a problem in that I have both Cygwin-based svn
> directories, and non-Cygwin based ones on my Windows machine.
>
> The best possible thing would be if TortioseSVN would just work properly
> with the Cygwin repositories. (Right now it does some things ok, but
> chekins fail reporting that they can't find the repository named
> 'file:///c/some/cygwin/path').
>
> The obvious fix is to make svn work seamlessly with both Win32 and
> Cygwin repositories, but clearly that's not an issue for TortioseSVN's
> developers. However there are some things Tortiose could do to help:
>
> * One fix would be if TortioseSVN could invoke Cygwin's svn client when
> it recognizes Cygwin-like paths.
> * Short of that, I would be happy if TortioseSVN just didn't report
> Cygwin-based directories as being under SVN control. Or if it used some
> sort of special iconset to indicate "Hey yo! This directory is
> Cygwin-based, so you won't be able to do checkins and other stuff with
> these files".

First off, TSVN is a subversion client using the standard subversion
libraries. It only reports what subversion tells it is there, so if you
want compatibility between Win32 and Cygwin (repositories and/or working
copies) you have to ask on the subversion list.

> Right now it's very frustrating because I'm never really sure whether a
> particular directory is under cygwin or win32 svn control.

You have built yourself an obstacle course ;-) SVN repositories have to
be accessed using the correct server, so if they were built with cygwin
you should also access using cygwin. The problem here is that for
file:// access, the server is contained within client program.

One way round the server side part is to set up the Win32 svnserve
process to serve all your repositories, having converted them to Win32
format first. That way you can use any client to access them including
the cygwin CLI. Doesn't fix the working copy side, although I am not
sure whether Windows and Cygwin WCs are incompatible or not.

> P.S. I actually woudn't mind converting my Cygwin svn repositories over
> to standard Win32, but there don't seem to be any tools available for
> that purpose.

If you can do that, life will be much easier. As Milen mentioned, use
svnadmin dump from whichever OS was used to create the repo. Then
svnadmin load using the Win32 command line client.

Simon

-- 
        ___
   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 Tue Dec 13 09:24:31 2005

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