Show More
@@ -42,17 +42,20 b' Install keyring library:' | |||||
42 |
|
42 | |||
43 | easy_install keyring |
|
43 | easy_install keyring | |
44 |
|
44 | |||
45 | (or ``pip keyring``) |
|
45 | (or ``pip keyring``). On Debian "Sid" the library can be also | |
|
46 | installed from the official archive (packages ``python-keyring``, | |||
|
47 | ``python-keyring-gnome`` and ``python-keyring-kwallet``). | |||
46 |
|
48 | |||
47 |
|
|
49 | Then either save ``mercurial_keyring.py`` anywhere and put the | |
48 | in ~/.hgrc (or /etc/mercurial/hgrc): |
|
50 | following in ~/.hgrc (or /etc/mercurial/hgrc): | |
49 |
|
51 | |||
50 | :: |
|
52 | :: | |
51 |
|
53 | |||
52 | [extensions] |
|
54 | [extensions] | |
53 | hgext.mercurial_keyring = /path/to/mercurial_keyring.py |
|
55 | hgext.mercurial_keyring = /path/to/mercurial_keyring.py | |
54 |
|
56 | |||
55 |
or save mercurial_keyring.py to mercurial/hgext directory and |
|
57 | or save ``mercurial_keyring.py`` to ``mercurial/hgext`` directory and | |
|
58 | use | |||
56 |
|
59 | |||
57 | :: |
|
60 | :: | |
58 |
|
61 | |||
@@ -67,9 +70,9 b' without configuration. Still, if necessa' | |||||
67 | ``~/keyringrc.cfg`` file (``keyringrc.cfg`` in the home directory of |
|
70 | ``~/keyringrc.cfg`` file (``keyringrc.cfg`` in the home directory of | |
68 | the current user). Refer to keyring_ docs for more details. |
|
71 | the current user). Refer to keyring_ docs for more details. | |
69 |
|
72 | |||
70 |
|
|
73 | ''I considered handling similar options in hgrc, but decided that | |
71 |
single |
|
74 | single user may use more than one keyring-based script. Still, I am | |
72 |
open to suggestions. |
|
75 | open to suggestions.'' | |
73 |
|
76 | |||
74 | Repository configuration |
|
77 | Repository configuration | |
75 | ======================== |
|
78 | ======================== |
General Comments 0
You need to be logged in to leave comments.
Login now