Show More
@@ -47,15 +47,17 b' Install keyring library:' | |||||
47 | installed from the official archive (packages ``python-keyring``, |
|
47 | installed from the official archive (packages ``python-keyring``, | |
48 | ``python-keyring-gnome`` and ``python-keyring-kwallet``). |
|
48 | ``python-keyring-gnome`` and ``python-keyring-kwallet``). | |
49 |
|
49 | |||
50 | Then either save ``mercurial_keyring.py`` anywhere and put the |
|
50 | Then use one of the three options: | |
51 | following in ~/.hgrc (or /etc/mercurial/hgrc): |
|
51 | ||
|
52 | a) download ``mercurial_keyring.py``, save it anywhere you like and | |||
|
53 | put the following in ``~/.hgrc`` (or ``/etc/mercurial/hgrc``): | |||
52 |
|
54 | |||
53 | :: |
|
55 | :: | |
54 |
|
56 | |||
55 | [extensions] |
|
57 | [extensions] | |
56 | hgext.mercurial_keyring = /path/to/mercurial_keyring.py |
|
58 | hgext.mercurial_keyring = /path/to/mercurial_keyring.py | |
57 |
|
59 | |||
58 |
|
|
60 | b) save ``mercurial_keyring.py`` to ``mercurial/hgext`` directory and | |
59 | use |
|
61 | use | |
60 |
|
62 | |||
61 | :: |
|
63 | :: | |
@@ -63,6 +65,19 b' use' | |||||
63 | [extensions] |
|
65 | [extensions] | |
64 | hgext.mercurial_keyring = |
|
66 | hgext.mercurial_keyring = | |
65 |
|
67 | |||
|
68 | c) install ``mercurial_keyring`` using ``easy_install``: | |||
|
69 | ||||
|
70 | :: | |||
|
71 | ||||
|
72 | easy_install mercurial_keyring | |||
|
73 | ||||
|
74 | and then configure ``~/.hgrc`` so: | |||
|
75 | ||||
|
76 | :: | |||
|
77 | ||||
|
78 | [extensions] | |||
|
79 | mercurial_keyring = | |||
|
80 | ||||
66 | Password backend configuration |
|
81 | Password backend configuration | |
67 | ============================== |
|
82 | ============================== | |
68 |
|
83 |
General Comments 0
You need to be logged in to leave comments.
Login now