Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-convert @ 5197:55860a45bbf2
Enable demandimport only in scripts, not in importable modules (issue605)
This way other applications can choose if and when they want this feature,
because it might be problematic if those applications rely on ImportError.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sat, 18 Aug 2007 11:37:08 +0200 |
parents | 36e8983fe44d |
children | 71e7c86adcb7 |
rev | line source |
---|---|
5015 | 1 #!/bin/sh |
2 | |
3 echo "[extensions]" >> $HGRCPATH | |
4 echo "convert=" >> $HGRCPATH | |
5 | |
6 hg init a | |
7 cd a | |
8 echo a > a | |
9 hg ci -d'0 0' -Ama | |
10 hg cp a b | |
11 hg ci -d'1 0' -mb | |
12 hg rm a | |
13 hg ci -d'2 0' -mc | |
14 hg mv b a | |
15 hg ci -d'3 0' -md | |
16 echo a >> a | |
17 hg ci -d'4 0' -me | |
18 | |
19 cd .. | |
5028
36e8983fe44d
test-convert: Hide warning about missing subversion bindings.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5015
diff
changeset
|
20 hg convert a 2>&1 | grep -v 'subversion python bindings could not be loaded' |
5015 | 21 hg --cwd a-hg pull ../a |