Show More
@@ -643,10 +643,10 b' class queue(object):' | |||||
643 |
|
643 | |||
644 | message = ph.message |
|
644 | message = ph.message | |
645 | if not message: |
|
645 | if not message: | |
646 |
message = |
|
646 | message = "imported patch %s\n" % patchname | |
647 | else: |
|
647 | else: | |
648 | if list: |
|
648 | if list: | |
649 |
message.append( |
|
649 | message.append("\nimported patch %s" % patchname) | |
650 | message = '\n'.join(message) |
|
650 | message = '\n'.join(message) | |
651 |
|
651 | |||
652 | if ph.haspatch: |
|
652 | if ph.haspatch: |
@@ -23,7 +23,7 b' def cvslog(ui,repo,hooktype,log):' | |||||
23 | def cvschangesets(ui,repo,hooktype,changesets): |
|
23 | def cvschangesets(ui,repo,hooktype,changesets): | |
24 | print "%s hook: %d changesets"%(hooktype,len(changesets)) |
|
24 | print "%s hook: %d changesets"%(hooktype,len(changesets)) | |
25 | EOF |
|
25 | EOF | |
26 |
hookpath= |
|
26 | hookpath=`pwd` | |
27 |
|
27 | |||
28 | echo "[hooks]" >> $HGRCPATH |
|
28 | echo "[hooks]" >> $HGRCPATH | |
29 | echo "cvslog=python:$hookpath/cvshooks.py:cvslog" >> $HGRCPATH |
|
29 | echo "cvslog=python:$hookpath/cvshooks.py:cvslog" >> $HGRCPATH | |
@@ -32,7 +32,7 b' echo "cvschangesets=python:$hookpath/cvs' | |||||
32 | echo % create cvs repository |
|
32 | echo % create cvs repository | |
33 | mkdir cvsrepo |
|
33 | mkdir cvsrepo | |
34 | cd cvsrepo |
|
34 | cd cvsrepo | |
35 |
CVSROOT= |
|
35 | CVSROOT=`pwd` | |
36 | export CVSROOT |
|
36 | export CVSROOT | |
37 | CVS_OPTIONS=-f |
|
37 | CVS_OPTIONS=-f | |
38 | export CVS_OPTIONS |
|
38 | export CVS_OPTIONS |
@@ -6,7 +6,7 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 |
P4ROOT= |
|
9 | P4ROOT=`pwd`/depot; export P4ROOT | |
10 | P4AUDIT=$P4ROOT/audit; export P4AUDIT |
|
10 | P4AUDIT=$P4ROOT/audit; export P4AUDIT | |
11 | P4JOURNAL=$P4ROOT/journal; export P4JOURNAL |
|
11 | P4JOURNAL=$P4ROOT/journal; export P4JOURNAL | |
12 | P4LOG=$P4ROOT/log; export P4LOG |
|
12 | P4LOG=$P4ROOT/log; export P4LOG |
General Comments 0
You need to be logged in to leave comments.
Login now