Show More
@@ -44,7 +44,7 b' Prerequisites' | |||||
44 |
|
44 | |||
45 | This extension requires keyring_ and `mercurial_extension_utils`_ to |
|
45 | This extension requires keyring_ and `mercurial_extension_utils`_ to | |
46 | work. In many cases both will be installed automatically while you |
|
46 | work. In many cases both will be installed automatically while you | |
47 |
install `mercurial_keyring` |
|
47 | install ``mercurial_keyring``, but you may need to control the process. | |
48 |
|
48 | |||
49 | The keyring_ library can usually be installed by:: |
|
49 | The keyring_ library can usually be installed by:: | |
50 |
|
50 | |||
@@ -164,7 +164,7 b' password.' | |||||
164 |
|
164 | |||
165 | Mercurial allows also for password in ``.hg/hgrc`` (either given by |
|
165 | Mercurial allows also for password in ``.hg/hgrc`` (either given by | |
166 | ``«prefix».password``, or embedded in url). If such password is found, |
|
166 | ``«prefix».password``, or embedded in url). If such password is found, | |
167 |
Mercurial Keyring disables itself |
|
167 | Mercurial Keyring disables itself. | |
168 |
|
168 | |||
169 |
|
169 | |||
170 | Account-level configuration |
|
170 | Account-level configuration | |
@@ -183,9 +183,9 b' directory). For example, write there::' | |||||
183 | mydep.prefix = https://dev.acmeorg.com |
|
183 | mydep.prefix = https://dev.acmeorg.com | |
184 | mydep.username = drmartin |
|
184 | mydep.username = drmartin | |
185 |
|
185 | |||
186 | and as long as you will be using alias `acme` for repositories like |
|
186 | and as long as you will be using alias ``acme`` for repositories like | |
187 | `https://hg.acme.com/repositories/my_beautiful_app`, username |
|
187 | ``https://hg.acme.com/repositories/my_beautiful_app``, username | |
188 |
`johnn |
|
188 | ``johnny`` will be used, and the same password reused. Similarly | |
189 | any ``hg push bitbucket`` will share the same password. |
|
189 | any ``hg push bitbucket`` will share the same password. | |
190 |
|
190 | |||
191 | With such config repository-level ``.hg/hgrc`` need only contain |
|
191 | With such config repository-level ``.hg/hgrc`` need only contain | |
@@ -245,7 +245,7 b' Implementation details' | |||||
245 | ====================== |
|
245 | ====================== | |
246 |
|
246 | |||
247 | The extension is monkey-patching the mercurial ``passwordmgr`` class |
|
247 | The extension is monkey-patching the mercurial ``passwordmgr`` class | |
248 | to replace the find_user_password method. Detailed order of operations |
|
248 | to replace the ``find_user_password`` method. Detailed order of operations | |
249 | is described in the comments inside `the code`_. |
|
249 | is described in the comments inside `the code`_. | |
250 |
|
250 | |||
251 | History |
|
251 | History |
General Comments 0
You need to be logged in to leave comments.
Login now