Show More
@@ -1199,7 +1199,7 def iterhunks(fp): | |||||
1199 | m = gitre.match(x) |
|
1199 | m = gitre.match(x) | |
1200 | if not m: |
|
1200 | if not m: | |
1201 | continue |
|
1201 | continue | |
1202 |
if gitpatches |
|
1202 | if not gitpatches: | |
1203 | # scan whole input for git metadata |
|
1203 | # scan whole input for git metadata | |
1204 | gitpatches = [('a/' + gp.path, 'b/' + gp.path, gp) for gp |
|
1204 | gitpatches = [('a/' + gp.path, 'b/' + gp.path, gp) for gp | |
1205 | in scangitpatch(lr, x)] |
|
1205 | in scangitpatch(lr, x)] |
@@ -667,9 +667,9 class ui(object): | |||||
667 | printed.''' |
|
667 | printed.''' | |
668 | if self.tracebackflag: |
|
668 | if self.tracebackflag: | |
669 | if exc: |
|
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 | else: |
|
671 | else: | |
672 | traceback.print_exc() |
|
672 | traceback.print_exc(file=self.ferr) | |
673 | return self.tracebackflag |
|
673 | return self.tracebackflag | |
674 |
|
674 | |||
675 | def geteditor(self): |
|
675 | def geteditor(self): |
@@ -288,7 +288,7 One with >200 heads, which used to use u | |||||
288 | reading DAG from stdin |
|
288 | reading DAG from stdin | |
289 |
|
289 | |||
290 | $ hg heads -t --template . | wc -c |
|
290 | $ hg heads -t --template . | wc -c | |
291 | 261 |
|
291 | *261 (re) | |
292 |
|
292 | |||
293 | $ hg clone -b a . a |
|
293 | $ hg clone -b a . a | |
294 | adding changesets |
|
294 | adding changesets |
General Comments 0
You need to be logged in to leave comments.
Login now