I am the primary developer on an ASP.NET 2.0 project written in Visual Studio 2005. We have released the preliminary version to the customer, and this version is currently in the trunk for maintenance. I have branched off a development branch to continue work on newly requested features. I know this is technically backwards, but I may not be the only person called on to make maintenance patches whereas I am the only person doing new development.
The problem stems from having both trees checked out on my computer. In one project directory opened the maintenance version from source control, which bound the project to the trunk. In another project directory, I opened the development version from source control, which bound the project to my development branch.
I thought everything was going well until I had to make a quick edit to a source file in the trunk project. When I went to check it in, changes I'd made to the branch project were listed in my Pending Checkins list in VS. I opened the branch project and found the changes I'd just made were showing up in my source files there as well.
I saved the file I'd made changes to in the trunk project, then re-opened the trunk from source control in the same directory. I checked out my edited file, overwrote it with my changed copy, and checked it back in.
Unfortunately, when I went to my development project, none of my development changes existed anymore, and the change I'd just checked in was visible in the project.
In the Vault client, I can see that the two different trees do point to different directories in my filesystem. In the VS projects, I can go to the Change Source Control dialog and see that the projects do, in fact, point to separate directories. So why do both projects seem locked into the same directory in the repository?
Branch is mirroring trunk
Moderator: SourceGear
-
- Posts: 6
- Joined: Fri Jun 30, 2006 9:44 am
- Location: Albuquerque, NM
- Contact:
Does this KB article about branching web projects help?
http://support.sourcegear.com/viewtopic.php?t=194
http://support.sourcegear.com/viewtopic.php?t=194
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 6
- Joined: Fri Jun 30, 2006 9:44 am
- Location: Albuquerque, NM
- Contact: