Mercurial > hg
comparison tests/test-keyword.out @ 6051:1038b1458d7a
keyword: safeguards against erroneous behaviour or aborts
prevent issues due to global [keyword] filename patterns:
- add email to nokwcommands
- protect everything under .hg from expansion
(tested with qcommit)
- exclude everything starting with .hg* just in case
prevent abort when pulling from bundlerepo:
- do not set up kwrepo for bundlerepo
expansion inside a bundle is nonsense
bundlerepo issue spotted and test case provided by pmezard.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Wed, 06 Feb 2008 23:14:33 +0100 |
parents | ffaf2419de44 |
children | de08788511d7 |
comparison
equal
deleted
inserted
replaced
6050:adf73753eb7d | 6051:1038b1458d7a |
---|---|
136 xxx $ | 136 xxx $ |
137 ignore $Id$ | 137 ignore $Id$ |
138 a | 138 a |
139 % diff a hooktest | 139 % diff a hooktest |
140 % removing commit hook from config | 140 % removing commit hook from config |
141 % bundle | |
142 1 changesets found | |
143 % pull from bundle | |
144 pulling from ../kw.hg | |
145 requesting all changes | |
146 adding changesets | |
147 adding manifests | |
148 adding file changes | |
149 added 1 changesets with 3 changes to 3 files | |
150 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
141 % touch | 151 % touch |
142 % status | 152 % status |
143 % update | 153 % update |
144 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | 154 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
145 % cat | 155 % cat |
160 expand $Id: a,v f782df5f9602 1970/01/01 00:00:00 user $ | 170 expand $Id: a,v f782df5f9602 1970/01/01 00:00:00 user $ |
161 do not process $Id: | 171 do not process $Id: |
162 xxx $ | 172 xxx $ |
163 $Id: c,v ba4426d1938e 1970/01/01 00:00:01 user $ | 173 $Id: c,v ba4426d1938e 1970/01/01 00:00:01 user $ |
164 tests for different changenodes | 174 tests for different changenodes |
175 % qinit -c | |
165 % qimport | 176 % qimport |
177 % qcommit | |
166 % keywords should not be expanded in patch | 178 % keywords should not be expanded in patch |
167 # HG changeset patch | 179 # HG changeset patch |
168 # User User Name <user@example.com> | 180 # User User Name <user@example.com> |
169 # Date 1 0 | 181 # Date 1 0 |
170 # Node ID ba4426d1938ec9673e03ab274d88c44e24618f7f | 182 # Node ID ba4426d1938ec9673e03ab274d88c44e24618f7f |