Show More
@@ -2,7 +2,7 b'' | |||||
2 |
|
2 | |||
3 | "$TESTDIR/hghave" bzr || exit 80 |
|
3 | "$TESTDIR/hghave" bzr || exit 80 | |
4 |
|
4 | |||
5 | export TERM=dumb |
|
5 | TERM=dumb; export TERM | |
6 | echo '[extensions]' >> $HGRCPATH |
|
6 | echo '[extensions]' >> $HGRCPATH | |
7 | echo 'convert = ' >> $HGRCPATH |
|
7 | echo 'convert = ' >> $HGRCPATH | |
8 | echo 'hgext.graphlog = ' >> $HGRCPATH |
|
8 | echo 'hgext.graphlog = ' >> $HGRCPATH |
@@ -6,12 +6,12 b' echo "[extensions]" >> $HGRCPATH' | |||||
6 | echo "convert = " >> $HGRCPATH |
|
6 | echo "convert = " >> $HGRCPATH | |
7 |
|
7 | |||
8 | echo % create p4 depot |
|
8 | echo % create p4 depot | |
9 |
|
|
9 | P4ROOT=$PWD/depot; export P4ROOT | |
10 |
|
|
10 | P4AUDIT=$P4ROOT/audit; export P4AUDIT | |
11 |
|
|
11 | P4JOURNAL=$P4ROOT/journal; export P4JOURNAL | |
12 |
|
|
12 | P4LOG=$P4ROOT/log; export P4LOG | |
13 |
|
|
13 | P4PORT=localhost:16661; export P4PORT | |
14 |
export P4DEBUG |
|
14 | P4DEBUG=1; export P4DEBUG | |
15 |
|
15 | |||
16 | echo % start the p4 server |
|
16 | echo % start the p4 server | |
17 | [ ! -d $P4ROOT ] && mkdir $P4ROOT |
|
17 | [ ! -d $P4ROOT ] && mkdir $P4ROOT | |
@@ -24,7 +24,7 b' while ! p4 ; do' | |||||
24 | done >/dev/null 2>/dev/null |
|
24 | done >/dev/null 2>/dev/null | |
25 |
|
25 | |||
26 | echo % create a client spec |
|
26 | echo % create a client spec | |
27 |
|
|
27 | P4CLIENT=hg-p4-import; export P4CLIENT | |
28 | DEPOTPATH=//depot/test-mercurial-import/... |
|
28 | DEPOTPATH=//depot/test-mercurial-import/... | |
29 | p4 client -o | sed '/^View:/,$ d' >p4client |
|
29 | p4 client -o | sed '/^View:/,$ d' >p4client | |
30 | echo View: >>p4client |
|
30 | echo View: >>p4client |
@@ -6,13 +6,13 b' echo "[extensions]" >> $HGRCPATH' | |||||
6 | echo "convert = " >> $HGRCPATH |
|
6 | echo "convert = " >> $HGRCPATH | |
7 |
|
7 | |||
8 | echo % create p4 depot |
|
8 | echo % create p4 depot | |
9 |
|
|
9 | P4ROOT=$PWD/depot; export P4ROOT | |
10 |
|
|
10 | P4AUDIT=$P4ROOT/audit; export P4AUDIT | |
11 |
|
|
11 | P4JOURNAL=$P4ROOT/journal; export P4JOURNAL | |
12 |
|
|
12 | P4LOG=$P4ROOT/log; export P4LOG | |
13 |
|
|
13 | P4PORT=localhost:16661; export P4PORT | |
14 |
export P4DEBUG |
|
14 | P4DEBUG=1; export P4DEBUG | |
15 |
export P4CHARSET |
|
15 | P4CHARSET=utf8; export P4CHARSET | |
16 |
|
16 | |||
17 | echo % start the p4 server |
|
17 | echo % start the p4 server | |
18 | [ ! -d $P4ROOT ] && mkdir $P4ROOT |
|
18 | [ ! -d $P4ROOT ] && mkdir $P4ROOT | |
@@ -26,7 +26,7 b' while ! p4 ; do' | |||||
26 | done >/dev/null 2>/dev/null |
|
26 | done >/dev/null 2>/dev/null | |
27 |
|
27 | |||
28 | echo % create a client spec |
|
28 | echo % create a client spec | |
29 |
|
|
29 | P4CLIENT=hg-p4-import; export P4CLIENT | |
30 | DEPOTPATH=//depot/test-mercurial-import/... |
|
30 | DEPOTPATH=//depot/test-mercurial-import/... | |
31 | p4 client -o | sed '/^View:/,$ d' >p4client |
|
31 | p4 client -o | sed '/^View:/,$ d' >p4client | |
32 | echo View: >>p4client |
|
32 | echo View: >>p4client |
General Comments 0
You need to be logged in to leave comments.
Login now