##// END OF EJS Templates
mq: use ui.fin when importing patch from '-'
Idan Kamara -
r14636:b9806348 default
parent child Browse files
Show More
@@ -48,7 +48,7 b' from mercurial.lock import release'
48 from mercurial import commands, cmdutil, hg, scmutil, util, revset
48 from mercurial import commands, cmdutil, hg, scmutil, util, revset
49 from mercurial import repair, extensions, url, error
49 from mercurial import repair, extensions, url, error
50 from mercurial import patch as patchmod
50 from mercurial import patch as patchmod
51 import os, sys, re, errno, shutil
51 import os, re, errno, shutil
52
52
53 commands.norepo += " qclone"
53 commands.norepo += " qclone"
54
54
@@ -1831,7 +1831,7 b' class queue(object):'
1831 self.checkpatchname(patchname, force)
1831 self.checkpatchname(patchname, force)
1832 try:
1832 try:
1833 if filename == '-':
1833 if filename == '-':
1834 text = sys.stdin.read()
1834 text = self.ui.fin.read()
1835 else:
1835 else:
1836 fp = url.open(self.ui, filename)
1836 fp = url.open(self.ui, filename)
1837 text = fp.read()
1837 text = fp.read()
General Comments 0
You need to be logged in to leave comments. Login now