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

RE: AnkhSvn hides or removes VSS at VStudio startup

From: Bert Huijben <bert_at_vmoo.com>
Date: Tue, 22 Jul 2008 22:19:01 +0200

> -----Original Message-----
> From: Keith Nelson [mailto:krn_2k_at_yahoo.com]
> Sent: dinsdag 22 juli 2008 21:07
> To: users_at_ankhsvn.open.collab.net
> Subject: RE: AnkhSvn hides or removes VSS at VStudio startup
>
> > Loading a solution containing a SCC binding will automatically switch
> the
> > active SCC if provided, so normally you only would have to use the
> setting
> > in Tools->Options->SourceControl when creating a new solution in
> another
> > then your last used SCC provider.
>
> Hi Bert,

        Hi Keith,

If Visual Studio finds the following lines in the .sln file it loads and
enables AnkhSVN as SCC Provider:

        GlobalSection(SubversionScc) = preSolution
                Svn-Managed = True
                Manager = AnkhSVN - Subversion Support for Visual Studio
        EndGlobalSection

This part is placed in the solution if you use 'Add Solution to Subversion'
on the solution,
or select 'Connect' the solution in File->Subversion->Change Source Control.

(This is also the place to go when you wish to remove SCC bindings)

> Could the behavior as described above be double checked please? I
> just tried opening a Subversion controlled solution (by double clicking
> on the solution in the explorer window) when the last default Source
> Control setting was VSS (SourceOffSite). VS tried to connect to SOS
> server, and threw off errors - VStudio did not recognise that the
> solution was under Subversion control as it should have. Setting the
> default to ankhsvn and repeating the process it worked as expected.
> Both times I ran the test, no other instances of VStudio were running
> and I was selecting the solution file from windows explorer to launch
> VStudio and the open solution process.

Can you check if these lines are in your .sln file?

I just verified this behavior by switching to VSS, restarting Visual Studio
and then double clicking the AnkhSVN solution. And in this case it works
just fine.

        Bert

>
> Thanks,
>
> Keith.
>
> ------------------------------------------------------
> http://ankhsvn.open.collab.net/ds/viewMessage.do?dsForumId=582&dsMessag
> eId=101485
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_ankhsvn.open.collab.net].

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-23 01:16:19 CEST

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.