Show More
@@ -1054,8 +1054,7 b" def export(repo, revs, template='hg-%h.p" | |||||
1054 | fp = makefileobj(repo, template, node, desc=desc, total=total, |
|
1054 | fp = makefileobj(repo, template, node, desc=desc, total=total, | |
1055 | seqno=seqno, revwidth=revwidth, mode='wb', |
|
1055 | seqno=seqno, revwidth=revwidth, mode='wb', | |
1056 | modemap=filemode) |
|
1056 | modemap=filemode) | |
1057 | if fp != template: |
|
1057 | shouldclose = True | |
1058 | shouldclose = True |
|
|||
1059 | if fp and not getattr(fp, 'name', '<unnamed>').startswith('<'): |
|
1058 | if fp and not getattr(fp, 'name', '<unnamed>').startswith('<'): | |
1060 | repo.ui.note("%s\n" % fp.name) |
|
1059 | repo.ui.note("%s\n" % fp.name) | |
1061 |
|
1060 |
General Comments 0
You need to be logged in to leave comments.
Login now