Show More
@@ -209,7 +209,7 b' def parseargs():' | |||||
209 | if options.local: |
|
209 | if options.local: | |
210 | testdir = os.path.dirname(os.path.realpath(sys.argv[0])) |
|
210 | testdir = os.path.dirname(os.path.realpath(sys.argv[0])) | |
211 | hgbin = os.path.join(os.path.dirname(testdir), 'hg') |
|
211 | hgbin = os.path.join(os.path.dirname(testdir), 'hg') | |
212 | if not os.access(hgbin, os.X_OK): |
|
212 | if os.name != 'nt' and not os.access(hgbin, os.X_OK): | |
213 | parser.error('--local specified, but %r not found or not executable' |
|
213 | parser.error('--local specified, but %r not found or not executable' | |
214 | % hgbin) |
|
214 | % hgbin) | |
215 | options.with_hg = hgbin |
|
215 | options.with_hg = hgbin |
General Comments 0
You need to be logged in to leave comments.
Login now