Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
It seems like all you want to do is move files and keep the revision history (it's precoffee, so I may be wrong). If you go into your repository through the filesystem on the server (after shutting down cvs), you can rename .xxx,v files, or move them around. They'll have the old revision history, and when you start CVS up again, and update, it should update everyone's code to the new structure names. Obviously, you'd want to do it as a clean break, and make a backup first. Hope that helps. "Harrison, Andrew" <andy.harrison at anite.com> wrote in message news:mailman.1320.1143557461.17086.cvsnt at cvsnt.org... Hi, I've not been subscribing to these lists for some time, so sorry if this has already been covered. I've looked at the list archives and the wiki and haven't found the details I'm looking for. We are about to do a bit of restructuring to our project which will include creating a new directory structure and moving files from the old structure to the new structure. Most files will retain the same file names, but it is possible that a few file names may also need to change. I know I can do this simply by creating a new directory, copy the file from the old to the new, add the new file, remove the old file, delete the old directory, and finally commit the whole lot. However, since this is still an active development, we want to be able to do it with minimal impact on users. Scenario: Current file - OldDir/MyFile.c Take a branch, move OldDir/MyFile.c to NewDir/MyFile.c OldDir/MyFile.c independently changed on trunk. Merge trunk into branch, changes are merged into NewDir/MyFile.c Merge branch into trunk, OldDir/MyFile.c is moved to NewDir/MyFile.c User with existing branch with modified OldDir/MyFile.c merges from trunk, OldDir/MyFile.c is moved to NewDir/MyFile.c and merges applied. Using the delete/add method would mean that these merges would have to be done manually. And so to my question - will cvs rename handle this, or does it only handle renaming of files within a directory. And is it still considered "experimental"? Client: Concurrent Versions System (CVSNT) 2.0.41a (client/server) Server: Concurrent Versions System (CVSNT) 2.0.58d (client/server) As you can see from my cvs version, I'm not exactly up-to-date with the server version. Is there significant differences in rename in 2.5.x, and is it worth using/waiting for 2.6.x instead? Rgds, Andy -- Andy Harrison - Platform Software Engineer Anite Telecoms Ltd. Ancells Business Park, Fleet, Hampshire, GU51 2UZ, UK [http://www.anite.com/telecoms] "No matter how bad things seem... nothing could be worse than being used as a towel rail." - A.A. Milne Scanned for viruses by BlackSpider MailControl. The integrity and security of this message cannot be guaranteed. This email is intended for the named recipient only, and may contain confidential information and proprietary material. Any unauthorised use or disclosure is prohibited.