Jump to content

Rafael

Members
  • Posts

    12
  • Joined

  • Last visited

Rafael's Achievements

Rookie

Rookie (2/14)

  • Collaborator Rare
  • One Month Later Rare
  • First Post Rare
  • Week One Done Rare

Recent Badges

1

Reputation

  1. Hi David, You can use the following in PowerShell: cm find changeset "where branch = 'main/task001'" --nototal | select -Last 1 In Bash: cm find changeset "where branch = 'main/task001'" --nototal | tail -n 1 This will give you the last changeset of branch main/task001. You can modify the format adding --format="{...}", ex: cm find changeset "where branch = 'main/task001'" --format="{date}" --nototal | select -Last 1 More information on this: https://www.plasticscm.com/documentation/cmfind/plastic-scm-version-control-query-system-guide#FilteringandOutputoptions Regards, Rafael. PlasticSCM Support Team.
  2. Hi David, This command will give you a list telling you what's the action of each file. By default it won't be checked in and the changes wont be applied neither appear in the pending changes view. cm merge name-of-branch This command will perform the merge. By default it won't be checked in. The changes will be applied and will appear in the pending changes view. cm merge name-of-branch --merge Then if you want to check-in use: cm ci Source: Plastic SCM version control · CLI guide Let me know if this is what you are looking for. Regards, Rafael. Unity/PlastisSCM Support Team.
  3. Hi, What version of plastic are you using? I tried to replicate your simplified scenario but got the correct authors. (Plastic last version) Maybe we can try to replicate with the version you are using. Regards, Rafael.
  4. Hi, Sorry for the late response. I am afraid that it is not possible to ignore the locked file and apply the rest of the changes in the shelve, a shelve works just as any other changeset, the only difference is that is a temporal changeset, so you won't be able to apply a shelve if some of the files are locked. Maybe you can create a new branch and apply the shelve there, then set the locked file to its current state and merge back the branch, can you try this and let me know if it worked? Regards, Rafael.
  5. Hi, In plastic the following 2 states are equivalent: You can see the last green arrow as a blue one in the opposite direction. In general Changesets that are referenced cannot be deleted (source of merge link, with children, labelled or with shelves), In the example A<-B<-C<-D you can delete the D changeset but not the C changeset as it has a child. In this case you can use Substractive Merge from the Advance merge option. This operation lets you keep A, B and D changes and remove C ones. Neither of the two options are possible, having the merge links has no particular consequence over the Changesets. Does this information answer your questions? Regards, Rafael. Plastic Support Team
  6. Hi, You can go to the shelves view and apply shelve in my workspace, then click on Apply changes and then select in the Pending changes view the changes you want to apply. In this case just leave everything selected but the level asset, after checking in or merging this asset will be the only change in the view and you can simply undo it. Please let me know if this works for you. Regards, Rafael. Plastic Support Team
  7. Hi, You can click changeset D and use the option merge from this changeset to and select the main branch, the result in main would be your initial A<-B<-C<-D but going through the new branch (In plastic represents exactly the same as the initial state). This is the easier and quicker solution that maintains the history. Regards, Rafael. Plastic Support Team
  8. Hi Lazlo, Sorry for the late response, I see that you are using the included version of plastic in the package "Version Control", this package is limited in functionally, consider using the new plugin of plastic available in the asset store: https://assetstore.unity.com/packages/tools/utilities/plastic-scm-plugin-for-unity-beta-169442 You will need to uninstall the package "Version Control" first. Using the updated plugin will solve the issue of the auto-checkout you are having and also includes a better and fully functional interface inside Unity. Regards, Rafael.
  9. Hi, You can use the following command from the console: cm find removed It will give you a list of deleted files and you can filter by: Branch Changeset Comment Date DirRev Item ItemId Owner Once you find the file you can use this command to undelete it: cm undelete --help Undeletes an item using a specific revision. Usage: cm undelete revspec path revspec Specification of the revision whose contents will be loaded in the workspace. path Restore path. Remarks: The item to undelete should not be already loaded in the workspace. The undelete operation is not supported for xlinks. Example: cm undelete revid:756 C:\mywks\src\foo.c cm undelete itemid:68#cs:2 C:\mywks\dir\myfile.pdf cm undelete serverpath:/src#br:/main C:\mywks\Dir Regards, Rafael. Unity/Plastic Support Team
  10. Hi Larry, At the moment the Unity plugin is in beta, that's why it’s being offered through the asset store, there is a past version of PlasticSCM plugin included in all Unity installations in the Package Manager as Version Control 1.5.7. In the future, once the plugin is out of beta, is expected to be included with all Unity installations by default. So, I am afraid that for now there is no other faster way of including PlasticSCM plugin to Unity besides downloading from asset store. If you have any more questions or concerns please let me know. Regards, Rafael. Unity/Plastic Support Team
  11. Hi Lazlo, hidden_changes.conf function is to hide controlled files from the Pending changes view. ignore.conf function is to ignore private files in the Pending changes view. Based on the case you present is possible that the configuration file you need to use is ignore.conf, if you use the same config "*_Shared.unity" on ignore.conf those files will be completely ignored and won't be checked out on save. Here is the guide that describes the config files, please try setting up ignore.conf and let me know if this meets your needs. https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide#Chapter16:Configurationfiles Regards, Rafael. Plastic Support Team
  12. Hi, Yes, you can pull your repo to the ec2 instance, you need to install the plastic client for your distro https://www.plasticscm.com/plastic-for-linux and then configure the cloud repo and credentials like here https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide#Installation-Linux. Then you can use the command line (https://www.plasticscm.com/documentation/cli/plastic-scm-version-control-cli-guide#Introduction) to select and pull the desired repository in a workspace. Is is also possible to use the API REST when the client is already installed given that you have a cloud subscription https://www.plasticscm.com/documentation/restapi/plastic-scm-version-control-rest-api-guide#Repositorycontents There shouldn't be necessary any additional configuration to the cloud repo. Regards, Rafael. PlasticSCM Support Team
×
×
  • Create New...