I suggest you ...

Add support for namespace in "find branch" command

Currently, finding a branch by namespace is not possible. Even worse, [find branch where name = 'main'] returns 1 branch, but [find branch where name = '/main'] returns none!

Please add full namespace support so we can find branches by complete name, such as [find branch where name = '/main/task001/subtask_1'].

This request originates from the following forum post:

http://www.plasticscm.net/index.php?/topic/2003-add-an-attribute-to-a-newly-created-branch-changeset/

10 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Göran Wallgren shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Göran Wallgren commented  ·   ·  Flag as inappropriate

        Yes please! You allow non-unique (child) branch names but you don't support finding a branch by full name.

      • AdminCodice Software (Admin, plasticscm) commented  ·   ·  Flag as inappropriate

        The "cm find" translates the queries into sql queries. The branch only stores its name, not its parents, so this sort of query is not as trivial as it might sound.

        We could solve the branch first and get its id and translate

        name = '/main/task001/subtask_1'

        on client by

        id='1024'

        and send that to the server... that would be doable.

      Feedback and Knowledge Base