Show More
@@ -1199,7 +1199,7 def iterhunks(fp): | |||
|
1199 | 1199 | m = gitre.match(x) |
|
1200 | 1200 | if not m: |
|
1201 | 1201 | continue |
|
1202 |
if gitpatches |
|
|
1202 | if not gitpatches: | |
|
1203 | 1203 | # scan whole input for git metadata |
|
1204 | 1204 | gitpatches = [('a/' + gp.path, 'b/' + gp.path, gp) for gp |
|
1205 | 1205 | in scangitpatch(lr, x)] |
@@ -667,9 +667,9 class ui(object): | |||
|
667 | 667 | printed.''' |
|
668 | 668 | if self.tracebackflag: |
|
669 | 669 | if exc: |
|
670 | traceback.print_exception(exc[0], exc[1], exc[2]) | |
|
670 | traceback.print_exception(exc[0], exc[1], exc[2], file=self.ferr) | |
|
671 | 671 | else: |
|
672 | traceback.print_exc() | |
|
672 | traceback.print_exc(file=self.ferr) | |
|
673 | 673 | return self.tracebackflag |
|
674 | 674 | |
|
675 | 675 | def geteditor(self): |
General Comments 0
You need to be logged in to leave comments.
Login now