Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Mon, 08 Oct 2007 12:09:47 -0700,    group: microsoft.public.vstudio.sourcesafe        back       


Re: How to get the whole project on my local PC to VSS existing project (all files at once)?   
You have 2 solutions:  Both assume you have version 1 labeled:

Solution #1:
-----------------
This solution loses everything after your version 2 (the changes your
client doesn't have the resources to test).
- Revert your VSS code to version one, losing anything after that.
- Set its working folder to an empty folder on your local drive.
- Check out version 1 to that folder (or you can do a checkout without
getting latest).
- Delete the files locally that you just checked out.
- Copy your new code into that local folder (even if they're already
local... just copy them over).
- Check them into VSS.
- Label your project in VSS as v2x or v3 or whatever....
- Change your working folder back to the proper local folder and
delete your temporary, local folder you made for this process.

Solution #2:
-----------------
This solution keeps your V2.
- Duplicate your project (or share and branch).  Rename the original
to reflect that it is a dead end, so to speak.
- Using your new copy, apply Solution #1.

Note that if your solution references projects in other folders,
outside of your main project folder, there could be some problems when
you get it out of VSS.  Everything will be there, but sometimes Visual
Studio is unhappy.  You can putz around and fix the references.

Hope that helps!
--------------------------
Owner/Operator of
www.MichaelsAttic.com

On Sep 21, 3:26 pm, "JD"  wrote:
> Hello,
> Do you know how to get the whole project on my local PC to VSS (not only
> separate files)?
> The issue is that the version on my PC is older then in VSS but I want the
> older version on my PC to become the latest in VSS (all files as they are on
> my PC).
>
> (Client asked for improvements, never was able to test them, in the meantime
> wanted other improvements, I had to get older version, implement new changes
> and since it is 2 years since the FIRST changes were implemented and never
> tested by client we decided to scrap them and use just older version + plus
> few minor changes that were added. But the FIRST changes were already in VSS
> and older version with NEWER changes is only on my PC)
>
> Any idea, tips are greatly appreciated.
> Thanks
> JD
>
> Here is the schematic overview
>
> Version 1 (original version that is in VSS and in all environments)
> Version 2 = version 1 + clients first requested changes
> Client never tests it (but it is checked in VSS)
>
> Now client wants version 1 (without changes in version 2) and to add some
> other different changes
> I get from history complete version 1 on my PC
> I create version 3 = version 1 + different changes then in version 2
> (everything locally on my PC without checking it back in to VSS)
>
> So in VSS is version 2
> On my PC is version 3
>
> After 2 years we decide that we scrap version 2 completely (client doesn't
> have resources to test it)
>
> We want version 3 (currently only locally on my PC) to be what you get when
> you "Get latest." from VSS (currently you get version 2) <==== How to Do
> it??????????????
date: Mon, 08 Oct 2007 12:09:47 -0700   author:   Mike {0A6FF490-CF84-4d78-BD85-FF011A0C310C}

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us