##// END OF EJS Templates
Fixed some bad indentation
Marcin Kasperski -
r19:a45229f9 default
parent child Browse files
Show More
@@ -276,17 +276,17 b' class PasswordHandler(object):'
276 Loading username and possibly password from [auth] in local
276 Loading username and possibly password from [auth] in local
277 repo .hgrc
277 repo .hgrc
278 """
278 """
279 # Theoretically 3 lines below should do.
279 # Theoretically 3 lines below should do:
280 #
280
281 #auth_token = self.readauthtoken(base_url)
282 #if auth_token:
283 # user, pwd = auth.get('username'), auth.get('password')
284
281 # Unfortunately they do not work, readauthtoken always return
285 # Unfortunately they do not work, readauthtoken always return
282 # None. Why? Because ui (self.ui of passwordmgr) describes the
286 # None. Why? Because ui (self.ui of passwordmgr) describes the
283 # *remote* repository, so does *not* contain any option from
287 # *remote* repository, so does *not* contain any option from
284 # local .hg/hgrc.
288 # local .hg/hgrc.
285
289
286 #auth_token = self.readauthtoken(base_url)
287 #if auth_token:
288 # user, pwd = auth.get('username'), auth.get('password')
289
290 # Workaround: we recreate the repository object
290 # Workaround: we recreate the repository object
291 repo_root = ui.config("bundle", "mainreporoot")
291 repo_root = ui.config("bundle", "mainreporoot")
292 if repo_root:
292 if repo_root:
General Comments 0
You need to be logged in to leave comments. Login now