equal
deleted
inserted
replaced
193 A condition is a globpattern matched against a relative path. The two most |
193 A condition is a globpattern matched against a relative path. The two most |
194 important conditions are |
194 important conditions are |
195 </para> |
195 </para> |
196 <itemizedlist> |
196 <itemizedlist> |
197 <listitem> |
197 <listitem> |
198 <code><literal>user=</literal><replaceable>globpattern</replaceable></code>: path to the user's key |
198 <code>user=<replaceable>globpattern</replaceable></code>: path to the user's key |
199 </listitem> |
199 </listitem> |
200 <listitem> |
200 <listitem> |
201 <code><literal>repo=</literal><replaceable>globpattern</replaceable></code>: path to the repository |
201 <code>repo=<replaceable>globpattern</replaceable></code>: path to the repository |
202 </listitem> |
202 </listitem> |
203 </itemizedlist> |
203 </itemizedlist> |
204 <para> |
204 <para> |
205 "*" only matches one directory level, where "**" matches as many as you |
205 "*" only matches one directory level, where "**" matches as many as you |
206 want. More precisely, "*" matches zero or more characters not including "/" |
206 want. More precisely, "*" matches zero or more characters not including "/" |
347 File and branch conditions are added to the conditions against which a rule |
347 File and branch conditions are added to the conditions against which a rule |
348 matches, just like user and repo conditions; they have this form: |
348 matches, just like user and repo conditions; they have this form: |
349 </para> |
349 </para> |
350 <itemizedlist> |
350 <itemizedlist> |
351 <listitem> |
351 <listitem> |
352 <code><literal>file=</literal><replaceable>globpattern</replaceable></code>: file within the repo |
352 <code>file=<replaceable>globpattern</replaceable></code>: file within the repo |
353 </listitem> |
353 </listitem> |
354 <listitem> |
354 <listitem> |
355 <code><literal>branch=</literal><replaceable>globpattern</replaceable></code>: Mercurial branch name |
355 <code>branch=<replaceable>globpattern</replaceable></code>: Mercurial branch name |
356 </listitem> |
356 </listitem> |
357 </itemizedlist> |
357 </itemizedlist> |
358 <para> |
358 <para> |
359 However, in order to understand what effect adding these conditions will |
359 However, in order to understand what effect adding these conditions will |
360 have, it helps to understand how and when these rules are applied. |
360 have, it helps to understand how and when these rules are applied. |