Re: Updated Issue 212 - sync needs list of include patterns (monotone)

Stephen Leake <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
Stephen Leake <[email protected]> writes:

>> In the user manual, the URI syntax is described as:
>>
>> <scheme>://[[<user>@@]<host>[:<port>]][/<path>][?<pattern>[;-<exclude-pattern>[...]]]
>>
>> That says there is only one include pattern, but multiple exclude
>> patterns. The examples only show one include and one exclude.
>>
>> I suggest we change it to this:
>>
>> <scheme>://[[<user>@@]<host>[:<port>]][/<path>][?<include-pattern>[;<include-or-exclude-pattern>]...]
>
> Actually, the first pattern can also be an exclude. So a simpler syntax
> is this:
>
> <scheme>://[[<user>@@]<host>[:<port>]][/<path>][?<pattern>[;<pattern>]...]
>
> Branches matching a pattern are excluded if the pattern starts with
> '-', included otherwise.

One more try:

<scheme>://[[<user>@@]<host>[:<port>]][/<path>][?[-]<pattern>[;[-]<pattern>]...]
Branches matching a pattern are excluded if the pattern is preceded by
'-', included otherwise.

-- 
-- Stephe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.