Re: Updated Issue 212 - sync needs list of include patterns (monotone)
Richard Levitte <[email protected]>
| Newsgroups | gmane.comp.version-control.monotone.devel |
|---|---|
| Message-ID | <[email protected]> |
In message <[email protected]> on Sat, 25 Aug 2012 07:04:40 -0400, Stephen Leake <[email protected]> said: stephen_leake> Stephen Leake <[email protected]> writes: stephen_leake> stephen_leake> >> In the user manual, the URI syntax is described as: stephen_leake> >> stephen_leake> >> <scheme>://[[<user>@@]<host>[:<port>]][/<path>][?<pattern>[;-<exclude-pattern>[...]]] stephen_leake> >> stephen_leake> >> That says there is only one include pattern, but multiple exclude stephen_leake> >> patterns. The examples only show one include and one exclude. stephen_leake> >> stephen_leake> >> I suggest we change it to this: stephen_leake> >> stephen_leake> >> <scheme>://[[<user>@@]<host>[:<port>]][/<path>][?<include-pattern>[;<include-or-exclude-pattern>]...] stephen_leake> > stephen_leake> > Actually, the first pattern can also be an exclude. So a simpler syntax stephen_leake> > is this: stephen_leake> > stephen_leake> > <scheme>://[[<user>@@]<host>[:<port>]][/<path>][?<pattern>[;<pattern>]...] stephen_leake> > stephen_leake> > Branches matching a pattern are excluded if the pattern starts with stephen_leake> > '-', included otherwise. stephen_leake> stephen_leake> One more try: stephen_leake> stephen_leake> <scheme>://[[<user>@@]<host>[:<port>]][/<path>][?[-]<pattern>[;[-]<pattern>]...] stephen_leake> Branches matching a pattern are excluded if the pattern is preceded by stephen_leake> '-', included otherwise. That looks perfect :-) Cheers, Richard -- Richard Levitte [email protected] http://richard.levitte.org/ "Life is a tremendous celebration - and I'm invited!" -- from a friend's blog, translated from Swedish