comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: using svn in GPS on Windows == wonky
Date: Sat, 08 Dec 2007 05:17:34 -0500
Date: 2007-12-08T05:17:34-05:00	[thread overview]
Message-ID: <uwsrpbidd.fsf@stephe-leake.org> (raw)
In-Reply-To: d7cd9591-43e9-42a7-ac5a-5be4f0e6a683@s8g2000prg.googlegroups.com

John Stoneham <captnjameskirk@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



  reply	other threads:[~2007-12-08 10:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-07 19:08 using svn in GPS on Windows == wonky John Stoneham
2007-12-08 10:17 ` Stephen Leake [this message]
2007-12-08 10:53   ` Pascal Obry
2007-12-08 11:53     ` John Stoneham
2007-12-08 14:04       ` Pascal Obry
2007-12-09 10:28         ` Stephen Leake
2007-12-09 10:55           ` Pascal Obry
2007-12-09 12:42             ` Peter C. Chapin
2007-12-09 13:11             ` John Stoneham
2007-12-09 18:32               ` Simon Wright
2007-12-09 19:58               ` Pascal Obry
2007-12-09 23:45                 ` John Stoneham
2007-12-10  7:17                   ` Pascal Obry
2007-12-10 10:40                     ` John Stoneham
2007-12-12 20:32                       ` Ludovic Brenta
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox