##// END OF EJS Templates
Fix issue240: mq: qpush fails on Solaris
Danek Duvall -
r2270:afd7c4ec default
parent child Browse files
Show More
@@ -281,7 +281,8 b' class queue:'
281 message = '\n'.join(message)
281 message = '\n'.join(message)
282
282
283 try:
283 try:
284 f = os.popen("patch -p1 --no-backup-if-mismatch < '%s'" % (pf))
284 pp = util.find_in_path('gpatch', os.environ.get('PATH', ''), 'patch')
285 f = os.popen("%s -p1 --no-backup-if-mismatch < '%s'" % (pp, pf))
285 except:
286 except:
286 self.ui.warn("patch failed, unable to continue (try -v)\n")
287 self.ui.warn("patch failed, unable to continue (try -v)\n")
287 err = 1
288 err = 1
General Comments 0
You need to be logged in to leave comments. Login now