##// END OF EJS Templates
test-identify: require no-outer-repo...
Mads Kiilerich -
r7830:55bd03e2 default
parent child Browse files
Show More
@@ -1,44 +1,46 b''
1 1 #!/bin/sh
2 2
3 "$TESTDIR/hghave" no-outer-repo || exit 80
4
3 5 echo % no repo
4 6 hg id
5 7
6 8 echo % create repo
7 9 hg init test
8 10 cd test
9 11 echo a > a
10 12 hg ci -Ama
11 13
12 14 echo % basic id usage
13 15 hg id
14 16 hg id --debug
15 17 hg id -q
16 18 hg id -v
17 19
18 20 echo % with options
19 21 hg id -r.
20 22 hg id -n
21 23 hg id -t
22 24 hg id -b
23 25 hg id -i
24 26 hg id -n -t -b -i
25 27
26 28 echo % with modifications
27 29 echo b > a
28 30 hg id -n -t -b -i
29 31
30 32 echo % other local repo
31 33 cd ..
32 34 hg -R test id
33 35 hg id test
34 36
35 37 echo % with remote http repo
36 38 cd test
37 39 hg serve -p $HGPORT1 -d --pid-file=hg.pid
38 40 cat hg.pid >> $DAEMON_PIDS
39 41 hg id http://localhost:$HGPORT1/
40 42
41 43 echo % remote with tags?
42 44 hg id -t http://localhost:$HGPORT1/
43 45
44 46 true # ends with util.Abort -> returns 255
General Comments 0
You need to be logged in to leave comments. Login now