Show More
@@ -510,10 +510,11 b' if has_https:' | |||
|
510 | 510 | keyfile = None |
|
511 | 511 | certfile = None |
|
512 | 512 | |
|
513 | if args: # key_file | |
|
514 |
keyfile = args |
|
|
515 | if args: # cert_file | |
|
516 |
certfile = args |
|
|
513 | if len(args) >= 1: # key_file | |
|
514 | keyfile = args[0] | |
|
515 | if len(args) >= 2: # cert_file | |
|
516 | certfile = args[1] | |
|
517 | args = args[2:] | |
|
517 | 518 | |
|
518 | 519 | # if the user has specified different key/cert files in |
|
519 | 520 | # hgrc, we prefer these |
General Comments 0
You need to be logged in to leave comments.
Login now