Jump to content

Search the Community

Showing results for tags 'command line'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 16 results

  1. Hello, I am trying to automate deleting workspaces by calling commend line code though python. But I'm running into an issue of when i try to delete an active workspace it throws errors, and i have to close and open plastic multiple times to make it reset. Is there a way to simply make a workspace active? I know i can switch my workspace to a branch or changeset but i don't see anything about making it active or not. There was a similar question to this one in the forum but the answer didn't give any info about actually switching the workspace.
  2. As part of our automated build process, we want to undo all changes and delete all added files (ignored and hidden) before building so that we're starting from a completely clean changeset. We've experimented with various cm.exe options, but haven't found any combination that does what we're trying to do. As a workaround, we typically delete the entire directory (with rmdir /s /q) and check it back out, but occasionally the directory doesn't delete successfully; one of the background processes such as an antivirus or plasticscmshellextensionproxy.exe probably has lock on it. What's
  3. Is there anything like Posh-Git for the plastic command line?
  4. Hi, Is it possible to run cm merge in a way so any conflict that cannot be solved automatically will cause error (non 0 return value)? I'm trying to create automatic merging script. It tries merge-to and if it fails, it would switch to the target branch and perform merge in the workspace using cm merge. Everything works fine for most cases, but if there is a conflict that cannot be solved automatically, it will open merge tool window, waiting for user input. Because my intent is to run this on our build server, I really need some way to run this in a noninteractive way and rejec
  5. As the title says, is it possible to login a particular user through command line? I know you can launch the Client configuration dialog with: "plastic --configure" , but because of an integration I am writing, I need to be able to auto-login a user. Can you pass the configure executable parameters? Thanks! - Aleks
  6. Hi Is it possible to take lines of code via command line (cm.exe) Regards Greg
  7. 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
  8. Hi, Is there a way to find the repository path in the command line? For example, if my repository is in D:\repo can I find the path from c: drive? Regards, Preeth
  9. I'm struggling to get a list via the command line of all the files that exist in the repository at a given changeset point. In other words, if I created a workspace from a changeset, can cm give me a list of all the files it would download? I guess this is also similar to "browse repository for this changeset" - but on the command line instead of GUI. This is part of a python tool that will submit build jobs to the automated build system, and in the UI to create the job I want to let the user specify a changeset / repository combination and then see a list of files that matches a filter.
  10. I am playing with a before-checkin trigger a bit now. What I need is to find out if the changes contains a merge link (or merge links) and if so, what are the names of the source and destination branch(es). I need this for implementing a better checkin comment checking – we want to have stricter rules for a comment of an integration changeset (merge from a feature branch to a release branch). Is there a way to find out these information from before-checkin trigger (or before-checkinclient at least) using some cm command(s) or maybe with some custom SQL queries to an underlying database? I
  11. I want to write a utility that uses 'cm ann' command, which does the following: Display output of the annotate command. Let the user choose a line. Get the parent changeset of that line. Continue to 1 with the file's revision from the parent changeset. My question is: How should I specify the revision for the 'ann' command? I tried the following: Taking the {rev} field from the annotate output: cm ann MyFile#br:/master#26935 This results with: Incorrect object specification MyFile#br:/master#26935 Sometimes I get: Error: Object reference not set to an instance of an object. Using the c
  12. Is there a complete list of command line arguments / options for the diff and merge tool, and a list of the dedicated allowed values? I am especially looking for the valid entries for the name of the language for syntax highlighting. Thank you.
  13. We have a workspace with a locally changed item. We want to update the workspace and overwrite (discard) the change. There is a command in a command line interface, which should be able to do that: cm update --override It was working until one or two weeks ago. Now, it says: C:\>cm upd --override C:\Test Searching for changed items in the workspace... The workspace cannot be updated since there are pending changes. Please review the pending changes and retry the operation again. It seems that the override parameter stops working, and we cannot find out why.
  14. I have a workspace defined on a network drive and the gui reflects pending changes. But when I cd to the workspace location and do a cm findchanged I get nothing. cm status shows the same information that is reflected in the GUI cm version I use the GUI most of the time but want to script an automatic checkin on this network drive contents. Thanks.
  15. Hello, When I create a new file (or change an existing one), Plastic doesn't seem to detect the changes. I also get some odd xmodmap errors/warnings. I'm not sure if I've always gotten these errors/warnings before - normally this was running from a build script that wasn't outputting the stdout/stderr until now. I'm on version for the client on OS X and I don't see where I can find the server version. Another thing I've tried is shutting down XQuartz/Plastic before running these commands. The output remains the same. secretfrog-build:taiga atlantisremixed$ touch newfile secretf
  16. The command line help from CLIMPORTER.EXE for VSS says the VSS parameters are: Valid options: --usr : Visual SourceSafe user to connect to that system. --pss : Password. --database : Visual SourceSafe database path. This doc is incorrect. The password argument should be "-pass". I spent 2 hours trying to figure out what I was doing wrong on this, with CLIMPORTER doing nothing but spitting the full usage statement back out to me. Very frustrating! Greg
  • Create New...