Jump to content

AndyAces

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by AndyAces

  1. Unfortunately not. The supports doesn't seem to have then answers I'm afraid.
  2. Yes I can get the find command to work but then archive does not work. I get the below error ("$cm does not exist) D:\PlasticArchive>cm archive $(cm find "revs where size > 26214400 on repository 'TLG2020@AndyNeoman@cloud' ")$(cm does not exist. I was thinking about archiving the whole project like mentioned above - How would I do that (I read the link and it doesn't seem to give the command) I presume if I archive the whole project to my own storage the plastic storage will be zero and I can then reupload the project on a new repo and be at base storage space again - is that right? That might be the perfect solution.
  3. Hi Rafael, I can finally get the cm find command to work but the archive command does not. I get this erro:- D:\PlasticArchive>cm archive $(cm find "revs where size > 26214400 on repository 'TLG2020@AndyNeoman@cloud' ") $(cm does not exist.
  4. I tied this too and get DNS error PS C:\Users\Andy> cm find "revs where size > 26214400 on repository 'TLG2020@AndyNeomam@cloud' " cm : Error: Can't resolve DNS entry for cloud.plasticscm.com At line:1 char:1 + cm find "revs where size > 26214400 on repository 'TLG2020@AndyNeomam ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Error: Can't re....plasticscm.com:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError
  5. This would be great but the code above produces an error cm find "revs where size > 26214400" --format="{item}#{branch}" \ --nototal | cm archive -c="volume00" --file="volume00" - (Archives all the files bigger than 25Mb on files starting with name 'volume00'.) At line:2 char:9 + --nototal | cm archive -c="volume00" --file="volume00" - + ~ Missing expression after unary operator '--'. At line:2 char:9 + --nototal | cm archive -c="volume00" --file="volume00" - + ~~~~~~~ Unexpected token 'nototal' in expression or statement. At line:3 char:73 + ... (Archives all the files bigger than 25Mb on files starting with name + ~ Missing closing ')' in expression. At line:4 char:5 + 'volume00'.) + ~~~~~~~~~~ Unexpected token ''volume00'' in expression or statement. At line:4 char:16 + 'volume00'.) + ~ Missing property name after reference operator. At line:4 char:16 + 'volume00'.) + ~ Unexpected token ')' in expression or statement. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : MissingExpressionAfterOperator
  6. archive: Unexpected option -file PS C:\Users\Andy> cm archive $(cm find revisions "where date >= 'one month ago' on repository 'main@TLG2020@AndyNeomam@cloud' ") -c="old revisions" -file=D:/PlasticArchive cm : Error: Can't resolve DNS entry for cloud.plasticscm.com At line:1 char:14 + ... m archive $(cm find revisions "where date >= 'one month ago' on repos ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Error: Can't re....plasticscm.com:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError archive: Unexpected option -file
  7. Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Windows\system32> cm archive $(cm find revisions "where date >= 'one month ago' on repository 'TLG2020@AndyNeoman@cloud' ") -c="old revisions" -file=D:\PlasticArchive Program 'cm.exe' failed to run: The filename or extension is too longAt line:1 char:1 + cm archive $(cm find revisions "where date >= 'one month ago' on repo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~. At line:1 char:14 + ... m archive $(cm find revisions "where date >= 'one month ago' on repos ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed
  8. I tried this command but i get the error unexpected option -file - any idea what the issue is? C:\>cm archive $(cm find revisions "where date >= 'one month ago' on repository 'TLG2020@AndyNeomam@cloud' ") -c="old revisions" -file=D:\PlasticArchive archive: Unexpected option -file
  9. What about branches? Could I create a new branch from my last changeset and then delete all changesets in the other old branch?
  10. Unfortunately not as the project is ongoing. I'm really struggling to understand what trim or archive are actually for. How I can benefit from it to reduce repo size. Why can't i delete really old changesets? How I can trim old version of files etc.. My repo is three times the size of the actual folder now and I have no idea where to start to reduce it. Is there a way of removing old version of all files so the current copy/version of each file is the only one stored?
  11. Hi there, yes, thanks I have looked at that document and apologies for struggling to understand. It seems to mention archiving files but i dont want to do that. Is there any information on how to archive changesets? I only want to keep the last 3 or 4 changesets since we have upgraded to a new version of unity and no longer require the old changesets. I tried to delete them but I get an error and it says the changeset has dependents so cannot be deleted.
  12. Sorry for the newbie question - I have looked at the blog re the trim feature and it only seems to explain trim to an asset or file. I was hoping there is a way to trim all previous changesets leaving only the last 3? We have major updates so all the old changes which are taking up room are no longer useable. Thanks for any help. Andy
  13. I'm reading this but still I don't understand how I would archive changesets rather than certain files. I really want to archive all but the last 4 changesets in my project if that is possible?
  14. Hi, sorry if I am hijacking thread but I am trying to do the same. When you say archive revision where is this option? I use plastic with Unity and my project is currently broken. I cannot push changes as I get errors, and I cannot revert to a previous changeset while the are changes pending which obviously i cannot push. Project is unusable at the moment. I would like to get access to the project again and trim it down to the last 3 or 4 changsets only.
×
×
  • Create New...