|
Prev: Exceptions, part 2
Next: ANN: GtkAda 2.10 support
From: John Stoneham on 7 Dec 2007 14:08 Sorry if this isn't the proper place to ask this, but maybe somebody can help. Previously, I've used svn command-line tools for version control, and now I've decided to try out the VCS interface built into GPS. But I can't seem to get it to work. I'm using GNAT GPL 2007-2 for Windows (GPS 4.1.3), and have my project set to use Subversion for VCS. Any VCS operation results in an error, and the Messages window shows that the path which is passed to the svn command begins with "/cygdrive/" instead of the actual project path. This is on a project which already has already been checked out and updated/committed/etc many times via the command line, so it's not a problem with svn on my system. Is this a "known issue" with GPS 4.1.3 on Windows, or is there a configuration option I'm missing somewhere?
From: Stephen Leake on 8 Dec 2007 05:17 John Stoneham <captnjameskirk(a)gmail.com> writes: > Sorry if this isn't the proper place to ask this, but maybe somebody > can help. Previously, I've used svn command-line tools for version > control, and now I've decided to try out the VCS interface built into > GPS. But I can't seem to get it to work. > > I'm using GNAT GPL 2007-2 for Windows (GPS 4.1.3), and have my project > set to use Subversion for VCS. Any VCS operation results in an error, > and the Messages window shows that the path which is passed to the svn > command begins with "/cygdrive/" instead of the actual project path. I'm guessing that you are using the Cygwin implementation of Subversion, and you followed the misleading standard Cygwin installation defaults. You should uninstall Cygwin, and reinstall at C:/. The default is C:/cygwin, and the installer will complain if you change it to C:/; ignore the complaint. When you do this, Cygwin mounts "/" as "c:/". Then all Windows paths (c:/foo/bar) are the same as all Cygwin paths (/foo/bar), for the C: drive. If you have stuff on other drives, Cygwin will use /cygdrive/d/... etc. Then you have to mess with cygpath, which gets very messy very quickly. > Is this a "known issue" with GPS 4.1.3 on Windows, or is there a > configuration option I'm missing somewhere? This is a Cygwin issue, not a GPS issue. Although I suppose GPS could be taught how to deal with Cygwin. I doubt that will happen. Another alternative is to find a native Windows implementation of Subversion. -- -- Stephe
From: Pascal Obry on 8 Dec 2007 05:53 Stephen Leake a �crit : > This is a Cygwin issue, not a GPS issue. Although I suppose GPS could > be taught how to deal with Cygwin. I doubt that will happen. Mind you, It has happened already :) The problem here is that GPS expect a Cygwin/Subversion but I suspect John is using a win32 native one. If it is the case then you should enable the Subversion native plug-ins, this is possible on recent GPS version, don't know if the one you are using has this feature. Hum... > GNAT GPL 2007-2 for Windows (GPS 4.1.3) So I think you don't have this plug-in. You can edit your subversion.xml plug-in to change the path_style attribute, look at the documentation for the possible values. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
From: John Stoneham on 8 Dec 2007 06:53 On Dec 8, 4:53 am, Pascal Obry wrote: > Stephen Leake wrote: > > > This is a Cygwin issue, not a GPS issue. Actually, I don't have cygwin installed at all and my Subversion is a native win32 build, so this appears to be a GPS issue after all (see below). > You can edit your subversion.xml plug-in to change the path_style > attribute, look at the documentation for the possible values. > BINGO! Contrary to the GPS docs, the path_style default is *not* "System_Default" but rather "CYGWIN". When I change it to "System_Default" it now works. It seems that someone forgot to fix that little variable before the release build was created. In case anyone comes across this same problem, the location of the subversion.xml file is in the "share\gps\plug-ins" folder where GNAT was installed (the default location is "C:\GNAT").
From: Pascal Obry on 8 Dec 2007 09:04 John Stoneham a �crit : > "System_Default" it now works. It seems that someone forgot to fix > that little variable before the release build was created. No, this is the default on Win32. Recent GPS versions come with two plug-ins, one for Cygwin and one for native Win32 as I mentioned in my previous mail. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
|
Pages: 1 Prev: Exceptions, part 2 Next: ANN: GtkAda 2.10 support |