Jump to content

Search the Community

Showing results for tags 'cm'.



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 8 results

  1. In order to maintain state in Plastic I'm attempting to use multiple attributes; It's easy enough to apply multiple attributes to a single branch, but I can't seem to get a find command to work. Unless I'm missing something there is no obvious way to get a cm find where clause to feature more than one attribute/attrvalue combination. In my case I have a branch with the following two attributes and values: Status = 'Deprecated' TestFlag = 'TRUE' This is only thing that seems reasonable to try, but does not work (not surprised really because there is only a single, unqualified "attrvalue") >cm find branches where attribute = 'Status' and attrvalue = 'Deprecated' and attribute = 'TestFlag' and attrvalue = 'TRUE' >Total: 0 Obviously I can test for one attribute individually and it works just fine. >cm find branches where attribute = 'TestFlag' and attrvalue = 'TRUE' >Total: 1 >cm find branches where attribute = 'Status' and attrvalue = 'Deprecated' >Total: 1 Isn't this a common thing? Is this not possible? Furthermore, I would really like this for use in the branch inclusion/exclusion/format rules! Thanks, Ryan
  2. Michael Buchoff

    Fully cleaning a changeset

    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 the preferred way to completely clean a changeset? Thanks in advance.
  3. 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?
  4. ferdBerful

    More cm command line questions

    Questions about the command line program "cm" - Can labels be removed from an change set? - Is there a way to get a list of files in a repository under a directory? - Is a server path always the same as the path to the object from the root of the workspace? - Can I change the comment on a changeset with cm?
  5. nqramjets

    cm getfile case-sensitive

    # Works :: cm getfile 'C:\build\scripts\Script\SqlScript_1.sql' # Works :: cm getfile 'C:\build\Scripts\Script\SqlScript_1.sql' # Broken :: cm getfile 'serverpath:/scripts/Script/SqlScript_1.sql#br:/main/ATO 1' # Broken :: cm getfile 'serverpath:/Scripts/Script/SQLScript_1.sql#br:/main/ATO 1' # Works :: cm getfile 'serverpath:/scripts/Script/SQLScript_1.sql#br:/main/ATO 1' PlasticSCM- In a Windows system using "cm getfile serverpath:/path/to/the.file" work only if the path is precisely that case. On a windows system both folder and file names are not case-sensitive, but this is not respected when "serverpath" is used. For example, These options work/fail as indicated here. This is causing issues with automated script application because plastic can't find the files even though they're there. I've tested all permutations of casing for files and folders when using a filepath, but only the precise casing works for serverpath. NOTE: This is permanently broken, because changing the case of the file name does not change the file, so I can't even fix it and check it in. Thanks, Ryan
  6. Per the release notes for 5.0.44.570 the new --filter command should allow me to specify a specific repository for triggers to fire on See http://www.plasticscm.com/download/releasenotes.aspx (I couldn't paste it, and the link java thing froze the page) 1. Create a testing repository called TestRepo (TestRepo1.jpg) 2. Setup a trigger which will simply fail for use in exploratory testing (TestRepo2.jpg) @echo off echo %PLASTIC_USER% : %PLASTIC_REPOSITORY_NAME% exit 1 3. Attempt to create a label: Success (TestRepo3.jpg) 4. Remove trigger and recreate without the --filter option (TestRepo4.jpg) 5. Attempt to create a label: Failure (TestRepo5.jpg) Notice that I'm using the correct version (TestRepo4.jpg) So, do I have the syntax wrong or is the filter option simply broken? Thanks, Ryan
  7. worldManager

    cm update fails on changes in workspace

    We have checked out an repository and ran some tests in in. This action marks some files as changed. When trying to update the workspace via commandline, it always fails: C:\.jenkins\workspace\PRJ\rep>cm update --override . 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. So far, reasonable. But when adding some options to ignore this and to force update, the error still persists: C:\.jenkins\workspace\PRJ\rep>cm update --override --ignorechanges --forced --parallel --dontmerge . 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. even with --ignorechanges and / or --forced I expected to ignore these changes. Running C:\.jenkins\workspace\PRJ\rep>cm unc -R . before won't help either ;( The status output is: C:\.jenkins\workspace\PRJ\rep>cm status --all cs:291@rep:WOI@repserver:ssl://myserver.local:8088 Modified items (CH = changed, CO = checkout, CP = copied (new), RP = replaced) CH MyDir\some.asset ---- Update 1: used server version 5.0.44.563 or even latest 5.0.44.596 on linux from debian packages client version: 5.0.44.563 and 5.0.44.586 or even latest 5.0.44.596 unfortunatly, cm clist returns nothing << inconsistent to what status and update tells me ;/ ---- Update 2: C:\.jenkins\workspace\PRJ\rep>cm unc MyDir\some.asset Cannot perform a partial update when the workspace is out of date. revert command seems not to support stickies like #cs:HEAD, nor does it work with the complete directory ".". Revert to the same cs number won't work because it is the current one ... c'mon!!!!!!!!! No fun!
  8. Hello, I want to check default branch (e.g. /main , /master or, branch /master-2012) How to find the default branch with command liine inteface (cm) or how to change the default branch (/master *)? Thank you.
×