From within PyCharm, you can create and delete CVS tags and branches. The names of the tags and branches must start with a letter, and contain only alphanumeric characters.
Branch and tag commands apply to all the files you have selected in the current view (including all the files in any selected directory), or to the current file in the editor if you invoked the command there.
This section describes how to:
- Access the tags and branches commands.
- Create a branch in the repository on the base of the current revision.
- Tag a revision in you local working directory.
- Delete a tag.
- In one of the tool windows, select the desired files or directories, or open a file in the editor.
- Do one of the following:
- On the main menu, choose
- On the context menu, choose
- On the submenu, choose the appropriate command ( , , or )
- Invoke the command.
- In the Create Branch dialog box, specify the name of the new branch. To do that, type the name in the
Branch name field, or click the Browse button
and select the desired name from the list of existing CVS tags.
- Optionally, specify the following:
- Select the Override existing check box, if you want to
move an existing tag to a new branch, as defined by the option
-F
ofrtag
CVS command. - Select the Switch to this branch check box to switch your local working copy to the branch specified in the Branch name field.
- Select the Override existing check box, if you want to
move an existing tag to a new branch, as defined by the option
- Invoke the command.
- In the Create Tag dialog box, specify the new tag name. To do that, type the name in the
Tag name field, or click the Browse button
and select the desired name from the list of CVS tags.
- Optionally, specify the following:
- Select the Override existing check box, if you want
an existing tag to point to the current revision, as defined by the option
-F
ofrtag
CVS command. - Select the Switch to this tag check box to switch your local working copy to the tag specified in the Tag name field.
- Select the Override existing check box, if you want
an existing tag to point to the current revision, as defined by the option
- Invoke the command.
- In the Delete Tag dialog box, specify the name of the tag you want to delete. To do that, type the name
in the Tag name field, or click the Browse button
, and select tag name from the list of the current tags in the repository.