How to move a project in source control

I messed up & need your advice. I put my first RH project, "core", at the root level of my VSS project:
$
rh_projects
   core
Unfortunately, my "core" RH project is now a child project in a merged help system.  I also put the "parent" project at the root level, so now it looks like this in VSS:
$
  rh_projects
     core
     parent
... but my VSS folder structure really should reflect my real folder structure, so that other writers can use the same structure when they open the project.
So I want to change my VSS folder structure to this:
$
  rh_projects
    parent
    projects
       core
So here's my question (finally!):  what's the best way to move the core project in VSS?
* In RH, remove the core project from source control, then put it back under source control at the new folder level, OR
* In VSS, add the new "projects" folder structure and move the "core" folder underneath it, then open it in RH as a "new" project?
thanks,
Jenny

Either way should work.
Method 1 will ensure the source control path in the RH files points to the correct VSS location
Method 2 will keep your change history if this is important to you. However, it is trickier to do.  Zip up a copy of your project just in case.
Method 2 details
If you use this method, you need to manually change the VSS path listed in the .xpj file.
Look for something similar to the following. It may be different depending on your versions of RH and VSS. The below is from RH6 and VSS2005. '[' represents and angle bracket.
[matchedpair]
           [name]vc::cookie[/name]
           [value]"$/Dev/Source/Documentation/MyProject", ZTZQBAAA[/value]
[/matchedpair]
You will need to change the [value] line: change the path beginning with $ to your project location.
I don't think you need to change the 8 character code after the comma, but I was never quite sure what it meant. If want to be safe or things don't work, create a temporary new project and add it to VSS at the same level as your project. Copy the bit in green from the temp project and paste it into your real one. Delete the temp project.
Also make sure you delete the .cpd file before opening the project as this sometimes remembers the old location.
HTH,
Amebr
Message was edited by: Amebr
Couldn't get colours to work so changed to words. Hopefully it's clear enough.

Similar Messages

  • Robo HTML 9 will not open our project from Source Control after initial start.

    We have a project in version control that we have been using forever, since 2003 or so and many versions of RH.  Now that we have upgraded to 9, this project will open the first time in version control and work normally.  Once you close the project and attempt to reopen from the starter screen, it opens just great, just not in version control.  The files are still set to read only.  I have done this several times and the only way i can work on my project in version control is to act like i am opening a project from scratch, then it needs to overwrite all of my local files with the server files.  It would not be so bad but I am 3000 miles away from the server and 13 hops plus a slow firewall on the other end.  While this has never been a problem in the past it is a big problem because it takes hours for all the files to download and overwrite my local files.
    This only happens with RH9 and Version Control 3.1.  RH8 works no problem.  So, I don't know if this is a RH9 starter problem or a Source Control Problem.  Maybe I will make a similar thread in the RH area.  I'll wait to see if I get any useful hits from this one first.
    It is very strange, I had RH9 open for several days because I was afraid to close the project for this reason and yesterday I published for the month so the heat is less right now but today, it opened with no source control.  If I go to Source Control the only thing i can select is put project in source control.  That is how it got into source control after converting to RH9.
    We have another project that seems to open from version control normally but we can only save topics in HTML view.  No useful answers to that topic after a week.
    Got any ideas???
    I have tried different folder names, different paths, etc.
    Thanks,
    dv

    Ok, here is a wierd one, I used the add to version control icon in the menu bar, It already knew the path so I figured I'm the only one who has been editing these files for the past few days so I clicked add to version control.  It added it. I closed and reopeded and still had the same files checked out.  Closed, checked in all, then reopened and it is working in SourceControl.  Strange that after opening from source control and closing that you need to reopen and tell it to put the project into source control.  Obviously some flag is not getting set somewhere.  This might help others having problems reopening source control files.
    dv

  • Steps to export B2B Project and Source Control.

    Hi,
    I need steps to export a B2B project for source controlling it and deploying the code to higher environments.
    Right now the coding is done in DEV , We want to push it to TEST.
    Thanks for all the help.
    Regards,
    Sid.

    Documents which we have created newly will also be exported, provided it is part of the agreement.
    another answer
    First time all "export-import". Every change - incremental export and import

  • How to create/add my new solution/project to Source Control at VS Online?

    Hi, I'm using VS2012.  I'm logged into VS online and can open the Team Explorer in VS2012. The frustrating thing is how do I add a new solution to source control?  I click on the Solution Explorer, Right click on the solution, Select "Add
    solution to Source Control".  The a pop up dialog shows up with 3 of my Solution/projects that are there.  
    The problem is i don't want to put this new solution under any of the 3 solutions currently in Source Control in VS Online.  I want this to be a new solution/project to be saved in the source control form the root.  If I click on the Advanced button,
    edit the "Source Control Folder" path to "$/MyNewSolutionName", I then get an error message saying root folder is reserved only for team project.  How can I get a new solution/project to the source control?  I've done it before
    but it seemed to have changed.
    Okay, In Source Control Explorer, I select the root, xxxx.visualstudio.com\DefaultCollection.  I then select VS "File" menu and in the drop down I selected "New" and then "Team Project".  It takes me to a browser and
    lands at VS online.  I then type in the new team project name.  Everything is good so far.  I now returns to my VS on my local PC, I right click either the solution or the project in that solution, select "Add solution to Source Control".
     The "Add Solution... " dialog then pops up.  I selected newly created Team Project, leave everything else in default and select OK and now I get a different error message saying "Fail to create mapping, cannot map server path, $/TeamProject/projectname,
    becuase it is not rooted beneath a team project. 
    How can I fix this and just get my source into the source  control?  Thank you.
    Thank you.
    Thank you

    Assuming you map to yoursite.visualsualstudio.com/defaultcollection you will need to create a team project to upload your stuff. If you are trying to save to $/ that is team project collection level and you can only add team projects at that point.
    you can add a new team project with the below picture
    Then depending on how you have set up your workspace, and assuming locally that you are in the local workspace you can upload your project.

  • How to use a 3rd party source control tool with RoboHelp?

    Hello,
    I would like to set our RoboHelp users up with source control.  They are using RoboHelp HTML 8.0.
    Our software developers are using the AccuRev scm system; I'd like the doc team to use AccuRev, too.
    Can someone direct me to RoboHelp documentation that explains how to set up and use a 3rd party scm system with RoboHelp?
    Thank you,
    Marilyn

    It appears that RoboHelp 7 only sees the first SCC provider listed in the Windows Registry and ignores the rest. I was able to get RoboHelp to display the File | Version Control menu for SourceGear Vault by setting the following two Registry keys and removing keys for other SCC providers (SourceSafe, Surround SCM, and others I am evaluating).
    HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider
         ProviderRegKey = \Software\SourceGear\Vault Client
    HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders
         SourceGear Vault VS2003 Compatible Client = SOFTWARE\SourceGear\Vault Client
    If I create a new RoboHelp project, save it, then select File | Version Control | Add to Version Control, RoboHelp does the following:
         - pops up the Select Version Control Provider dialog and displays SourceGear Vault Classic Client.
         - I select that, check "Make this my default selection" checkbox, and click OK.
         - RoboHelp crashes.
    I'm using SourceGear Vault 5.02 under Windows 7 Ultimate 32-bit. A search of the SourceGear Vault knowledge base reveals that they do not support RoboHelp because of its incorrect behavior and instability. It's so sad that RoboHelp can't work properly with industry standard SCC providers. Vault is by far the best SourceSafe replacement out there, and very affordable.

  • How to move iPhoto Project to Photoshop

    Is it possible to move a Project (album) created in iPhoto to photoshop for additional processing ??
    if yes , please explain How.

    Yes you can control it.
    Connect the iPad to your computer with the cable
    Launch iTunes
    Select the iPad from the left side under "devices"
    Click on the Photos Tab in the iTunes window on the right side
    Click on the Sync Photos Heading and select the folder from which you want to sync
    Select all of the albums, events, faces or whatever you have
    Click on Sync - or Apply in the lower corner of iTunes.

  • How to integrate ADF with ADE Source control system?

    We are going to set up a team with ADF developers and we're totally new to ADF environment. The developers will be working on individual and common Applications/ projects. We're planning to use ADE as our source control system. How do we set up Jdev/ADF environment so that we can use Oracle ADE source control system to sync up all the changes by the developers. any ideas and pointers to the documents are appreciated.
    Regards,
    Surya

    Shay, I heard from many oracle employees saying that ADE works great with JDev. Why not outside of oracle like svn? As you know there are tons of complaints about svn & cvs. Thanks.

  • Project Builder Source Control With CVS

    DOe anyone know how to setup Project Builder to use CVS for source/version control or is there a good guide I can download?

    Hi,
    Project builder does not support Source control afak.
    Frank

  • How to move iMovie project from one computer to another

    I have been working on an iMovie 09 project on my desktop at home.
    Now I want to work on the same project on my computer at work.
    How can I move the project from one computer to another?   What I've already tried was to make a duplicate copy of the project and then use a thumb drive to move that to another computer.   It didn't work.
    Thanks for your help.

    Hello James Snedeker,
    After reviewing your post, it sounds like you want to move a file to another disk. I would recommend that you read this article, it may be able to help the issue.
    iMovie: How to Save Projects to Another Hard Disk
    To copy an iMovie project to another disk:
    1. Quit iMovie if it is open. 
    2. Locate the project folder in the Finder.
    3. Drag the project folder to the other disk.
    Note: You must move the complete project folder, intact, to the other disk in order to successfully copy the project. The project folder has the same name as the project listed in the iMovie window. This folder includes the iMovie project file, as well as a Media folder, which contains all of the clips associated with this project. If you don't copy all of these items, the project may no longer be readable in iMovie.
    Once you have copied the project, try opening it in iMovie to ensure that it copied to the other disk successfully.
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Project management + Source Control

    we are using labview 8.5 and not well known source control in a team environment. I'm not sure if it is the souce control that I'm using or other searsons, but I had so much trouble using those combination. I want to know what others thought about project management and/or source control in general.
    Thanks,
     - Jimmy
    - Jimmy

    Hi!
       Actually, I've never merged, since I'm the only LabView guy on our development team
       I absolutely agree with the fact that SVN is a good tool, but I should confess that I didn't spend much time in evaluating many other tools (never tried MS tools), for this I rely on my colleagues' opinion.
       I can report that SVN is being used in a graphic studio for pictures versioning of course, they don't need to merge images   There's virtually no limit in SVN use...
    graziano

  • Copying projects in source control

    RH10 | WebHelp
    We've recently implemented RoboSource Control and I'm hoping someone can tell me how to copy a project that it is already under its control. With each version of our software we need to duplicate the previous version's projects so that we can use them as the basis of the current version.
    I had been told that I could open a project from version control to a different folder, remove it from version control, and then add it back into version control to a different folder. This, in theory, should give a duplicate copy. However, the removing from version control bit deletes the original project from version control, not the copy. You then have add both projects back into version control to their respective folders, which is not desirable.
    Is there an easier (or correct) way to do this?
    Thanks
    Jonathan

    Thanks for that.
    I found an article on Rick Stone's website and, after trying a few different method, it seems like the best way to copy a project. Here's what I did:
    1. Open the project you want to copy in RoboHelp, and make sure you ‘get’ the latest set of files from RSC. Close the project.
    2. In Windows Explorer, copy the local version of the RoboHelp project to a new folder.
    3. Select all the files in the new folder and make sure they are all writable (right-click > Properties > untick Read only > OK).
    4. Delete the copy’s <projectname>.cpd and pblsvrs.sss files.
    5. Open the copy’s <projectname>.xpj file in Notepad and replace this section:
    <miscproperties>
               <matchedpair>
                    <name>vc::agent</name>
                    <value>MSSCC</value>
               </matchedpair>
               <matchedpair>
                    <name>vc::provider</name>
                    <value>RoboSource Control 3.1</value>
               </matchedpair>
               <matchedpair>
                    <name>vc::database</name>
                    <value>NG7EMOTYBUX</value>
               </matchedpair>
               <matchedpair>
                    <name>vc::cookie</name>
                    <value>$/<project-folder>/<project>@:ROBOSOURCE</value>
               </matchedpair>
         </miscproperties>
    With:
            <miscproperties/>
    6. Close Notepad and save your changes.
    7. Open the copy in RoboHelp – you can now work on the project as if it had never been associated with RSC! – and use the Add to Version Control option to add the copy to its new location in RSC.

  • How to move a project from one library to another?

    I merged too many iPhoto libraries into one very large Aperture library,  It takes too long to load up even though I'm using a Thunderbolt external drive.  So I'm exporting some of the projects as new libraries.  After doing so, I discover that some of the remainig projects in my large Aperture library really belong in one of the new libraries I created.  But I haven't found a way yet to export or move such projects to the new library I created on the same external drive.  Does anyone have any suggestions?

    I thought I said that?
    And I thought you meant that, but I was not sure, if "export the projects" implies necessarily "export as library" - it could mean "export the versions/originals from the project" and reimport them - just to be sure no offence meant.

  • How to add SSMS to git source control?

    Hi Everybody,
    I want SSMS (SQL Server Management Studio) to be under source control Git. I have googled it and it was said that a source control plug-in needed to do that. But can't find any information or download link for the source control plug-in. Can't proceed.
    Please help.
    Thanks and Regards,
    Anujit Karmakar
    Anujit Karmakar Sr. Software Engineer

    Hello,
    Please try the following free tool.
    http://www.gitsql.net/
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to move book project to a new Mac?

    Probably a simple answer, but one I can't find on these forums.
    I have several book projects that are saved on any older Macbook, that I want to transfer to my new Macbook. How do I copy or transfer the project and all associated images? I'm running iPhoto '08 on both machines?
    Thanks and Happy New Year from Southern California!
    Ned

    Yes - to switch between them launch iPhoto while depressing the option (alt) key and use the select library option or use iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/
    There is no way to move just a project (book, calendar, etc) they are part of the library and can not be moved separately so the only way is to move the entire library (you can delete the unwanted parts - see Old Toad's Tutorial #9a - http://web.mac.com/toad.hall/OldToadsTutorials/No._9a.html )
    LN

  • How to move JDev project from one node to another

    I have created a project on my laptop and i have designed my pages and deployed on my test server. now i want to copy these files and ftp to my system admin in another country so that he can open those files on his client JDeveloper and run and test the pages before deploying on production server.
    do i need to zip the project files and send it to my admin??
    if so , how can we open this project and its files on a freshly installed jdeveloper.
    Thank you for your precious time to read this post.
    please advise/help!

    Hi,
    First unzip files at <JDEV_USER_HOME>\myprojects.
    When you create a new workspace and project under Jdeveloper, it will show all packages / folders that are present inside myprojects folder.
    If not visible, you can go to project properties and add the folder from 'Project Content' tab.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • How to install BDB XML on shared server?

    Hi All, 1. I want to install BDB XML on a shared server (bluehost). Can anyone suggest me how to do it? Since I dont have enough permissions, some of the 'php shared extensions' are not being installed. I get warning like- Installing shared extension

  • How to get Brushes to go lower then 3 Pixels

    In the retouch for brushes. The radius bar only goes to 3. Is that the lowest limit ? In working in PSE it can go to one (1) Thanks, Greg

  • Incoming IDOC clearing customer outstanding

    Hi I am working on automating incoming customer payment, clearing there outstanding. Currently it is manual process business user use F-28 to post. We will be getting the file from bank and want to process the same, after processing it should clear /

  • Setting request properties

    I have a Java Bean that I want to connect to a remote url, via HTTP. I want it to set some request properties in its request, more specifically: Referer and Cookie. My code currently makes a request, and receives a reply, but I'm not able to set the

  • Sticky problem

    Hi, we have an issue where the sticky tables on our CSS are too large, so that if a server fails, connections move to the rest of the farm. As the sticky table does not time out anytime soon the failed server does not get many connections when it is