Subversion integration enables you to work with Subversion-specific properties without leaving PyCharm.
Once defined, properties of a file or directory display in the SVN Properties view. In this view you can explore and change existing properties and their values, or create new ones, using the toolbar buttons or context menu commands.
This section describes how to:
- View properties of a file or directory from within PyCharm.
- Create a new property, or change the value of an existing property.
- Set up a keyword property.
- Delete a property.
- Resolve property conflicts.
- In the Project tool window, select the desired file or directory under SVN version control.
-
On the main
- Use the toolbar buttons or context menu commands to create, edit or delete properties, as described in the procedures below.
If you want SVN Properties view to preserve its contents as you navigate through your project or edit files,
make sure that the Follow Selection button is not pressed;
otherwise the view will show properties for the currently selected or edited file.
-
Open SVN Properties view.
Use
command on the Subversion menu to define a single property. -
Click add button
on the toolbar of the SVN Properties view, or choose the command on the context menu. The Set Property dialog box appears.
- In the Property name field, type the name of the new property, or select one from the drop-down list.
- Choose the Set property value option, and specify the desired value in the text area below.
- To have the changes applied to all subdirectories of the selected directory, select the Update properties recursively check box.
- Click OK.
- In the SVN Properties view for a file, click
.
- In the SVN Keywords dialog box, check the keywords to be included in the property.
- Click OK.
- Select a property to be deleted.
- Click
on the toolbar.
- In the Property name field, select the property to be deleted.
- Click Delete property radio-button.
- If you want this property to be deleted from all files and subdirectories of the selected directory, check the option Update properties recursively.
- Click OK.