How can we help you today? How can we help you today?
SeaSharp
I found a working solution. The problem was with the setup of my Perforce work space. I don't know exactly what was the issue. But, here is my solution: I started with a Perforce workspace named, "MyWorkSpace" with these directories: C:\Perforce\MyWorkSpace\MyProject\Code\ApplicationCode C:\Perforce\MyWorkSpace\MyProject\Code\Database 1. Removed the Database path from the MyWorkSpace workspace and created a new workspace, MyWorkSpace_Database. It is extermely important that you don't have 2 workspaces pointing to the Database path. Otherwise your files can get clobbered & out of sync when you Get Latest. 2. Mapped the new workspace (MyWorkSpace_Database) so that it only points to the database path, [C:\Perforce\MyWorkSpace\MyProject\Code\Database]. 3. Opened the folder [%USERPROFILE%\AppData\Local\Red Gate\SQL Source Control 2\CommandLineHooks] in windows explorer. 4. Created a copy of the Perforce.xml file. Opened it for edit. 5. Changed the value of the <Name>Perforce</Name> element to <Name>Perforce [MyProject]</Name> 6. For each of the <CommandLine> elements added the -c MyWorkSpace_Database. For example, the commit command line now looks like this: <CommandLine>P4 -c MyWorkSpace_Database -s sync "($ScriptsFolder)..."</CommandLine> 7. Saved the XML file. 8. Launched SQL Server and Linked to Source Control. When prompted by Sql Source Control to select the config file for source control commands I chose the one with the Name value from step 5 above. That worked for me. / comments
I found a working solution. The problem was with the setup of my Perforce work space. I don't know exactly what was the issue. But, here is my solution: I started with a Perforce workspace named, "...
0 votes
Thanks Chris. So, is there a way to execute JUST the compare from the command line using a SCP? I'm trying to integrate with CruiseControl.Net. I don't want to sync, just compare. / comments
Thanks Chris. So, is there a way to execute JUST the compare from the command line using a SCP? I'm trying to integrate with CruiseControl.Net. I don't want to sync, just compare.
0 votes
Ahh...figured it out. The "no objects have been selected" refers to the things you want to synchronize after the compare is complete. It is not the things you want to compare. :roll: / comments
Ahh...figured it out. The "no objects have been selected" refers to the things you want to synchronize after the compare is complete. It is not the things you want to compare. :roll:
0 votes