Show More
@@ -569,12 +569,13 b' def hgexecutable():' | |||
|
569 | 569 | Defaults to $HG or 'hg' in the search path. |
|
570 | 570 | """ |
|
571 | 571 | if _hgexecutable is None: |
|
572 |
|
|
|
573 | set_hgexecutable(os.environ.get('HG')) | |
|
572 | hg = os.environ.get('HG') | |
|
573 | if hg: | |
|
574 | set_hgexecutable(hg) | |
|
574 | 575 | elif main_is_frozen(): |
|
575 | 576 | set_hgexecutable(sys.executable) |
|
576 | 577 | else: |
|
577 |
se |
|
|
578 | set_hgexecutable(find_exe('hg', 'hg')) | |
|
578 | 579 | return _hgexecutable |
|
579 | 580 | |
|
580 | 581 | def set_hgexecutable(path): |
General Comments 0
You need to be logged in to leave comments.
Login now