New query system

Friday, May 18, 2007 1 Comments

While part of the team was spreading the Plastic word in Oxford, Rubén has been working hard to complete the new query system and we are already using it internally. I started looking at it today, and found it to be very powerful! Just some samples:

Query for all markers on the current workspace:



C:\vb3>cm find marker

354 17/05/2007 10:51:35 excel dave
1665 18/05/2007 16:02:08 excel2 dave


All items on a given baseline (signaled with a marker):


C:\vb3>cm find revision where marker = 'excel' --format={item}

c:\vb3
c:\vb3\forest
c:\vb3\forest\TreeManifest.doc
...


Revisions changed from changeset 10 on branch /main/clio:


C:\vb3>cm find "revision where changeset > 10 and branch = 'br:/main/clio' "

1586 17/05/2007 10:58:52 dir 11 dave c:\vb3#br:/main/clio#3
1597 17/05/2007 10:58:52 dir 11 dave c:\vb3\forest#br:/main/clio#0
...


Items changed between changeset 10 and 13, display changeset and item name


C:\vb3>cm find revision where changeset between 10 and 13 --format="{changeset} {item}"

10 c:\vb3
10 c:\vb3\forest.removed.0.removed.0
12 c:\vb3\forest.removed.0\ForestWhitepaperES.doc
...


Items changed from baseline 'excel2' to 'excel3' (baselines signaled here as markers):


C:\vb3>cm find revision where marker = 'excel3' and not marker = 'excel2' --format={item}

c:\vb3\WindowsApplication1\Form1.cs
c:\vb3\WindowsApplication1\Form1.resx
...


Will keep you updated!

1 comment: