~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/pwk

  • Committer: Vincent Ladeuil
  • Date: 2007-11-24 14:20:59 UTC
  • mto: (3928.1.1 bzr.integration)
  • mto: This revision was merged to the branch mainline in revision 3929.
  • Revision ID: v.ladeuil+lp@free.fr-20071124142059-2114qtsgfdv8g9p1
Ssl files needed for the test https server.

* bzrlib/tests/ssl_certs/create_ssls.py: 
Script to create the ssl keys and certificates.

* bzrlib/tests/ssl_certs/server.crt: 
Server certificate signed by the certificate authority.

* bzrlib/tests/ssl_certs/server.csr: 
Server certificate signing request.

* bzrlib/tests/ssl_certs/server_without_pass.key: 
Server key usable without password.

* bzrlib/tests/ssl_certs/server_with_pass.key: 
Server key.

* bzrlib/tests/ssl_certs/ca.key: 
Certificate authority private key.

* bzrlib/tests/ssl_certs/ca.crt: 
Certificate authority certificate.

* bzrlib/tests/ssl_certs/__init__.py: 
Provide access to ssl files (keys and certificates). 

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
PWK_ROOT='http://patchwork.ozlabs.org/bazaar-ng'
11
11
PWK_AUTH_ROOT='https://patchwork.ozlabs.org/bazaar-ng'
12
12
 
13
 
# bzr uses -p0 style; others use -p1
14
 
PATCH_OPTS='-p0'
15
 
 
16
13
usage() {
17
14
    cat <<EOF
18
15
usage: 
42
39
    catpatch $2 | ${PAGER:-less}
43
40
    ;;
44
41
try)
45
 
    catpatch $2 | patch -p0 --dry-run
 
42
    catpatch $2 | patch -p1 --dry-run
46
43
    ;;
47
44
apply)
48
 
    catpatch $2 | patch -p0
 
45
    catpatch $2 | patch -p1
49
46
    ;;
50
47
*)
51
48
    usage
52
49
    exit 1
53
 
esac
 
 
b'\\ No newline at end of file'
 
50
esac