Jump to content

Search the Community

Showing results for tags 'cli'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Plastic SCM
    • General
    • Installation and configuration
    • Unity 3D
    • Plastic SCM on Mac
    • Plastic SCM on Linux
    • Gluon
    • Git interop
    • Integrations
    • Community Edition
    • Branching and merging
    • Announcements
  • Plastic SCM 4.0 Beta (Closed)
  • Plastic Cloud
    • General
    • Configuration
  • SemanticMerge
    • General
    • License
    • SCM's configuration
    • Share your experience!
    • External Parsers
  • GitJungle
  • Method History for Subversion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 11 results

  1. Ashot Vantsyan

    "View Shelve" analog in cli

    Hi all, I would like to clarify if there is a way to view a shelve more informatively than can report the following command: cm find shelve on repository '"<repo>"' In other words I would like to find an analog of "View Shelve" feature in the GUI. Thanks in advance, Ashot
  2. In the CLI, is there a way to display what custom attributes are assigned to a branch object, and what their values are? I can use "cm find" to locate a particular branch, but there doesn't appear to be any output options on the command to list the attributes or values set on that branch. The --format option does not include attributes as possible output. The --xml option looks like it could handle attributes, but does not list them. Is there a way? Or should this be a feature request?
  3. Hi, At work I'm trying to write a batch script to cd to the correct directory automatically, and then run "cm checkin ." The distinct issue is that every time I call "cm checkin ." I get the following message: "The workspace <wkspace_path> metadata is corrupt. Please update the workspace." The problem persists after attempting to call "cm update ." (along with varied arguments such as "--forced"). However the GUI works fine. The repository itself is just shy of 30 GB in size, and is kept in c:\Program Files\<rest_of_path> if that information is relevant. Additionally, the plastic wktree file is approximately 12 MB in size (again, if relevant). Guidance would be massively appreciated. Thank you!
  4. demoid

    How to access Plastic SCM CLI?

    Hello, I'm new to plastic scm. I've subscribed to the cloud edition and I've downloaded the cloud edition GUI. I was wondering how do I access the CLI for plastic CSM? I couldn't find any separate download for the CLI. Thanks.
  5. Hi, I'm trying to run a simple .bat file (see code below) to move a file to a subfolder. Everything has already been previously checked in. When I use the CLI to do the move, everything seems to work out fine, but when I select the file in Gluon, you can see that the latest changeset is not bold (indicating that my checkin failed, I think) and that the comment I tried to add is not present. (See attached image.) Any idea what's going on? Thanks! Dave cd c:\project cm partial configure -/ +/ set dst=c:\project\destination cm partial checkout %dst% cm partial checkout %dst%\subfolder cm partial checkout %dst%\test.txt cm partial move %dst%\test.txt %dst%\subfolder cm findchanged -R . | cm partial checkin -c="Moved file" pause
  6. Good Day! When I run cm find "changesets where branch like '/main/mybranch/defect 1234'" I get all the changesets back. When I run cm find "changesets where branch like '/main/mybranch/defect 123%'" I get no changesets back. I need to get a list of all changes sets in branches like X. I thought that if LIKE worked for a fully qualified branch it should work with a wildcard. Any ideas? Thanks!
  7. Support ticket 9009 for plastic support crew. Today we needed to get a new developer started, time is precious, time is wasting. Today was wasted. I purchased a new team license for 6 people (formerly 5, but this is a whole new license as the previous was from a previous account, previous employer, and via their paypal... new one via creditcard/stripe). Fine, good. got the token code. Our server is on a MacPro, so all admin is CLI (where's the GUI admin client?). It is possible I'm a crazy person, but I've not found any guides or actual documentation that is clear in how to complete procedures needed to manage users and licenses. Some of it is somewhat self evident via help commans if you can find the right commands. Here is what I've pieced together from various threads (it may not be correct, but I'm hoping we can solve that here). To create a user: sudo /Applications/PlasticSCMServer.app/Contents/Applications/umtool.app/Contents/MacOS/umtool cu username password and I think you are supposed to stop and start the server daemon at this point (or are you supposed to stop it before you do the above? WHO CAN SAY?) Stop: launchctl unload /Library/LaunchDaemons/com.codicesoftware.plasticscm.server.plist Start: launchctl load /Library/LaunchDaemons/com.codicesoftware.plasticscm.server.plist ok so now we have a user added. running sudo /Applications/PlasticSCMServer.app/Contents/Applications/umtool.app/Contents/MacOS/umtool listusers reveals a user list of 6 users now (including the new one). hurray! But we need a license running that has 6 seats, not 5. Ok... To add the server token for auto renewal: /Applications/PlasticSCMServer.app/Contents/Applications/clconfigureserver.app/Contents/MacOS/clconfigureserver We use 1 (english), 5 (for username/password working mode), and then it says "Configuring autorenewal for subscription licenses: (we paste in the new token here, and hit enter)... It mentions for changes to apply we need to restart (it doesn't actually mention how to do this, but that is no longer suprising right?) Ok so restart... I guess that means stop and start it? Stop: launchctl unload /Library/LaunchDaemons/com.codicesoftware.plasticscm.server.plist Start: launchctl load /Library/LaunchDaemons/com.codicesoftware.plasticscm.server.plist Ok done! Aaaaaaand: when the 6th user logs into a client his credentials check out, but when he tries to make a branch? He gets the error about exceeding the number of allowed users... Clearly the old token is still in effect. Ok so we've tried restarting via the above... I've also tried it by stopping the daemon first, configuring, restarting. I've tried doing the above and restarting the whole machine. I've also tried stopping the server, deleting plasticd.token.lic and the plasticd.token.lic (btw, where this is mentioned it doesn't actually mention the path to them, but I've found them on OSX you need to show package contents of the PlasticSCM.app, then you'll find it inside /Applications/PlasticSCMServer.app/Contents/MonoBundle/ I've used the above unload and load, before and after (unload, configure, load). I've deleted these file after unloading. I've even tried to kill the PlasticSCMServer.app PID because I noticed it never goes away when you unload with launchctl. There is no .token file in those locations as another thread mentioned. Sometimes I get asked if I am configuring for Enterprise or team. Sometimes I don't. Regardless of all permutations of the above the result is the same with the new and 6th user....License exceeded No reply to support yet. Anyone else have any ideas? Andrew
  8. Konstantin

    Discard all changes in CLI

    Hello! I have a build script that works with same workspace. Before building it must switch the workspace to latest changeset of a specified branch. This is done with following code (Powershell) cm stb --workspace=$Workspace br:$Branch Unfortunately, if the workspace contains any changes (new files, edited files) this operation will fail. How can I discard all changes in the workspace or switch it to another changeset from any state? (I do not care about losing the changes, this workspace is for script usage only.)
  9. We have been using plastic for about a year, and are currently using version 5.0.44.509 - Hawaii. We have about a half dozen repositories, and in each repository we create a branch off the main branch for each sprint, about 3 weeks, then merge back to the main branch at the end of the sprint. We have an automated nightly build that builds the code on the main branch. But I would like to add a build of the current sprint branch as well, since that's closer to where the work is going on, and so more likely to change from day to day. However, I cannot figure out how to use the CLI to switch to the end of the sprint branch, without having to change the nightly build batch file for every sprint (to include the name of the sprint branch). I am doing something like this to switch to the end of the main branch before building each night. This works fine, since the name of the main branch does not change: cm stb --repository="Lab@vc-svr:8034" --workspace="C:\Lab" br:"/main" What I think I should be able to do is add a label (called "Sprint") to the current sprint branch. At the start of each sprint, when a new sprint branch is created, I would move the "Sprint" label to the new sprint's branch. From the CLI I should then be able to find out what branch the label "Sprint" is on, then switch to that branch (which makes the newest change set of the that branch my new home). Can you tell me how I can use the CLI to do this? Bill.
  10. Good Day - I need to use the CLI to get a list of all files changed within a given branch. I know how to get the changesets and the revisions, but how do I get the actual file names? For example, I need to take /main/Defect 1234 and use the CLI to list out all the files which were changed or added therein. Thanks, Tom
  11. tom.peters

    Finding Labels via the CLI

    Good Day - Is there a way for me to lookup specific labels via the CLI? Currently, I can get the entire list back by using: cm find label on repository 'REP@IPADDRESS:PORT' I know that you can use the WHERE clause looking up other items, but I am unable to figure out how to do it with labels. I get an EOF error. Ideally, I would like to simply find that last label created that starts with 'X'. Something like: cm find label on repository 'REP@IPADDRESS:PORT' where label like 'X%' and uid = (SELECT MAX(uid) FROM ? WHERE label like 'X%') Please forgive the SQL syntax. I am just trying to show what I need to accomplish. Thanks, Tom
×