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:
-
Göran Wallgren commented
Yes please! You allow non-unique (child) branch names but you don't support finding a branch by full name.
-
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.