I'm trying to find a workable solution for moving folders from one repository to another repository. I've got some client projects in my master repository that need to be moved into a separate client repository for various reasons. Early on in the game, when we ported our VSS DB, we ended up with everything in one repository, and there is has remained.
Every six months or so, I get a bee in my bonnet about trying to restructure the long term client folders into their own repositories... and then I remember.
The Import/Export tool just doesn't seem to work at all. I picked a nice small sub folder - maybe 60 files where there have never been any edits - it's also never been moved, branched, deleted or obliterated. Total of about 300 transactions all told.
Run the export process against that folder, wait for a bit, wait for a bit longer, keep waiting, and about an hour and a half later, it dies a horrible death. I've never actually had a folder export process complete successfully.
So, is there any way, any option at all, that would let me move this data between repos, when all I want in the file change history? I don't care about moves, renames, anything other than the file history...
The GET (from old) and then ADD (to new) process is, to be quite frank, a pretty average solution - the lack of history defeats the entire purpose of source control.
(I've got some obliterates kicking around, although not in the tree in questions - I think the obliterates were done prior to the Import/Export process being available, so we kind of didn't know any better...)
Matt
Looking for a viable move folder between repositories soluti
Moderator: SourceGear
Re: Looking for a viable move folder between repositories so
Do you need every transaction, or would just important versions or points in time ok? If so, you could build a shortened history of just important points. How you would do that is:
1) Perform a View History, but choose the option to show history by folder version. It's the second radio button in the center of the history options window.
2) Select the first folder version you want as part of your history and perform a Get on it.
3) Switch to the other repository you want to build the history in.
4) Add the folder to the other repository. Make sure the Add is fully committed to the repository.
5) Check out the entire folder you just added.
6) Return to the first repository, show history by folder version.
7) Perform a Get on the next folder version you want.
8_) Return to the second repository and check in the second version of your files.
9) Repeat steps 5 - 8 until you have the history you desire.
I think with the combination of obliterates and the data having come from VSS, Export/Import might not be an option for you. I think to dig further into the root cause would take discussing this offline. Feel free to send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread if you would like to dig deeper into this.
1) Perform a View History, but choose the option to show history by folder version. It's the second radio button in the center of the history options window.
2) Select the first folder version you want as part of your history and perform a Get on it.
3) Switch to the other repository you want to build the history in.
4) Add the folder to the other repository. Make sure the Add is fully committed to the repository.
5) Check out the entire folder you just added.
6) Return to the first repository, show history by folder version.
7) Perform a Get on the next folder version you want.
8_) Return to the second repository and check in the second version of your files.
9) Repeat steps 5 - 8 until you have the history you desire.
I think with the combination of obliterates and the data having come from VSS, Export/Import might not be an option for you. I think to dig further into the root cause would take discussing this offline. Feel free to send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread if you would like to dig deeper into this.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support