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