Workspace properties: Source Control tab
Description
For PB Native, specify the source control system to be associated with the
current workspace.
For SVN and Git, view and edit the source control connection settings for the current workspace. Besides that, if a project is under source control using a third-party tool such as TortoiseSVN or TortoiseGit, you can move it (including the .svn or .git sub-folder) and then select the source control type (SVN or Git) from the Source Control System list to establish connections between the workspace and the source control server in the PowerBuilder IDE.
Dialog options
Source Control System
Select the system from the Source Control
System dropdown listbox.
Subversion (SVN) and Git are available only when the current workspace is under the SVN or Git source control (You can use Add to Source Control to add the current workspace to SVN or Git source control).
The other source control systems that are defined in your registry appear in the dropdown listbox.
User ID
Your user name for the source control system.
Password/Token
Your password for the SVN or Git source control system; or your personal access token for the Git source control system.
Repository URL
For SVN and Git only. A URL that points to a working repository on the SVN or Git source control server.
Project
For PB Native only. Click the ellipsis button next to the Project textbox to display
a dialog box from your source control system. Some source control
systems (such as Perforce or Vertical Sky) do not return a project
name, and the Project textbox remains blank. For these source control
systems, you can leave the Project textbox blank, but you still
need to use the ellipsis button to select a source control project.
Local Root Directory
A path for the local root directory.
All the workspace files that you check into and out of source
control must reside in this path. If you are sharing targets between
workspaces, you should include the shared targets in a workspace
of their own and create a separate source control project for them.
Author
For Git only. Author name used for committing the object to the Git source control server.
For Git only. Email address used for committing the object to the Git source control server.
Advanced
Click to make changes to any advanced options defined for
your source control system. If no advanced options are available
for your source control system, you will only see a splash screen
for the system you selected and an OK button that you can click
to return to the Source Control property sheet in PowerBuilder.
Log All Activity
Check to enable trace logging. The default log filename is
PBSMS.LOG, but you can select a different name.
Log Options
Browse to select the name of a log file and select whether
the log file should be overwritten or appended to (the default).
Require comments on check in (or commit)
Select this check box to disable the OK button on the Check
In dialog box until you type a comment. This check box is grayed
if you select PBNative as your source control system.
Source file encoding in ws_objects
Display the encoding format for the source code files in ws_objects under the SVN or Git soure control. You can select the encoding when you first add the project to the source control.
This project requires that I sometimes work offline
Select this check box to disable automatic connection to source
control when you open the workspace. Instead, each time you open
the workspace, you’ll get a dialog box asking you whether
you want to work online or offline.
Delete PowerBuilder Generated Object Files
Select this check box to delete object files (such as SRWs)
from the local directory after any source control action that requires
temporary files Do not select this option for the Perforce, ClearCase,
or Continuus source control systems.
Selecting this option may increase the time it takes to refresh
object status from the source control server, since the files will
need to be regenerated on the local machine, then recompiled for
PowerScript targets and deleted again, as per the option selection.
Perform diff on status update
Select to display of out-of-sync icons for local objects that
are different from objects on the source control server. Selecting
this also increases the time it takes to refresh source control status.You
cannot select this option for Perforce.
Suppress prompts to overwrite read-only files
Select this check box to avoid message boxes warning that
read-only files exist in your local project directory. Warning messages
can occur during SCC operations that cause PowerBuilder to export
source from the PBL to the local project path. These operations
are: Add to Source Control, Check In, Show Differences, and when the
SCC vendor does not support diff-by-version-number, Refresh Status.
Operations of the SCC vendor that write files from the source
control repository to the local project path are not under direct
PowerBuilder control and are not affected by this check box selection.
These operations include Check Out, Undo Checkout, Get Latest Version,
and Remove from Source Control.
Show warning when opening objects not checked
out
Select this check box to avoid message boxes when opening
objects that are still checked in to source control.
Status Refresh Rate
Specify the minimum time elapsed before PowerBuilder automatically
requests information from the source control server to determine
if objects are out of sync. Valid values are between 1 and 59 minutes.
Status refresh rate is ignored if you select the check box for working
offline.