equal
deleted
inserted
replaced
7 > |
7 > |
8 > [alias] |
8 > [alias] |
9 > # should clobber ci but not commit (issue2993) |
9 > # should clobber ci but not commit (issue2993) |
10 > ci = version |
10 > ci = version |
11 > myinit = init |
11 > myinit = init |
|
12 > optionalrepo = showconfig alias.myinit |
12 > cleanstatus = status -c |
13 > cleanstatus = status -c |
13 > unknown = bargle |
14 > unknown = bargle |
14 > ambiguous = s |
15 > ambiguous = s |
15 > recursive = recursive |
16 > recursive = recursive |
16 > nodefinition = |
17 > nodefinition = |
106 $ hg no--repository |
107 $ hg no--repository |
107 error in definition for alias 'no--repository': --repository may only be given on the command line |
108 error in definition for alias 'no--repository': --repository may only be given on the command line |
108 $ hg help no--repository |
109 $ hg help no--repository |
109 error in definition for alias 'no--repository': --repository may only be given on the command line |
110 error in definition for alias 'no--repository': --repository may only be given on the command line |
110 |
111 |
|
112 optional repository |
|
113 |
|
114 $ hg optionalrepo |
|
115 init |
111 $ cd alias |
116 $ cd alias |
112 |
117 $ cat > .hg/hgrc <<EOF |
|
118 > [alias] |
|
119 > myinit = init -q |
|
120 > EOF |
|
121 $ hg optionalrepo |
|
122 init -q |
113 |
123 |
114 no usage |
124 no usage |
115 |
125 |
116 $ hg nousage |
126 $ hg nousage |
117 no rollback information available |
127 no rollback information available |