monotone

Issue 176: Selector Parentheses Are Reported As Mismatched When Not

Reported by Tony Cooper, May 28, 2011

When I do:

mtn --db=test-1_00.mtn au select 
'(b:net.venge.monotone.tbrownaw.serve_automate|b:net.venge.monotone.t
hreaded)/l:2011-03-01T16:07:00'

I get:
mtn: misuse: selector 
'(b:net.venge.monotone.tbrownaw.serve_automate|b:net.venge.monotone.t
hreaded)/l:2011-03-01T16:07:00' is invalid, unmatched ')'

Cheers,

TC.
Output of `mtn version --full`:
-------------------------------
monotone 1.0 (base revision: 
3405a2457cf8869f247a293d30cfe3a41b5eb5a2)
Running on          : Linux 2.6.9-34.EL #1 Sun Mar 19 13:34:16 CST 
2006 i686
C++ compiler        : GNU C++ version 4.4.5
C++ standard library: GNU libstdc++ version 20101114
Boost version       : 1_42
SQLite version      : 3.7.3 (compiled against 3.7.3)
Lua version         : Lua 5.1
PCRE version        : 8.02 2010-03-19 (compiled against 8.2)
Botan version       : 1.8.11 (compiled against 1.8.11)
Changes since base revision:
format_version "1"

new_manifest [b252820fde344fd3f5d023fd91de86522baa671d]

old_revision [3405a2457cf8869f247a293d30cfe3a41b5eb5a2]

patch "NEWS"
 from [c636641e064654102ff4c37362c07cad9726c7a2]
   to [282addc1d59cc722b9e713aa5e04605e9bd2289d]

  Generated from data cached in the distribution;
  further changes may have been made.

Comment 1 by Tony Cooper, May 28, 2011

Seems to work ok if the opening ( is not the first character in the 
selector...

Comment 2 by Richard Hopkins, Jun 24, 2012

See the "net.venge.monotone.issue-176" branch for the 
current work (new test, and potential fix).

Created: 12 years 11 months ago by Tony Cooper

Updated: 11 years 10 months ago

Status: New

Followed by: 1 person

Labels:
Type:Incorrect Behavior
Priority:Medium

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status