Show More
@@ -450,8 +450,6 def pathto(root, n1, n2): | |||||
450 | b.reverse() |
|
450 | b.reverse() | |
451 | return os.sep.join((['..'] * len(a)) + b) or '.' |
|
451 | return os.sep.join((['..'] * len(a)) + b) or '.' | |
452 |
|
452 | |||
453 | _hgexecutable = None |
|
|||
454 |
|
||||
455 | def mainfrozen(): |
|
453 | def mainfrozen(): | |
456 | """return True if we are a frozen executable. |
|
454 | """return True if we are a frozen executable. | |
457 |
|
455 | |||
@@ -462,6 +460,8 def mainfrozen(): | |||||
462 | safehasattr(sys, "importers") or # old py2exe |
|
460 | safehasattr(sys, "importers") or # old py2exe | |
463 | imp.is_frozen("__main__")) # tools/freeze |
|
461 | imp.is_frozen("__main__")) # tools/freeze | |
464 |
|
462 | |||
|
463 | _hgexecutable = None | |||
|
464 | ||||
465 | def hgexecutable(): |
|
465 | def hgexecutable(): | |
466 | """return location of the 'hg' executable. |
|
466 | """return location of the 'hg' executable. | |
467 |
|
467 |
General Comments 0
You need to be logged in to leave comments.
Login now