Show More
@@ -28,7 +28,6 b' import itertools' | |||||
28 | import stat |
|
28 | import stat | |
29 |
|
29 | |||
30 | from .i18n import _ |
|
30 | from .i18n import _ | |
31 | from .pycompat import open |
|
|||
32 | from .node import ( |
|
31 | from .node import ( | |
33 | bin, |
|
32 | bin, | |
34 | hex, |
|
33 | hex, | |
@@ -672,7 +671,7 b' def listcmd(ui, repo, pats, opts):' | |||||
672 | ui.write(age, label=b'shelve.age') |
|
671 | ui.write(age, label=b'shelve.age') | |
673 | ui.write(b' ' * (12 - len(age))) |
|
672 | ui.write(b' ' * (12 - len(age))) | |
674 | used += 12 |
|
673 | used += 12 | |
675 | with open(name + b'.' + patchextension, b'rb') as fp: |
|
674 | with Shelf(repo, sname).open_patch() as fp: | |
676 | while True: |
|
675 | while True: | |
677 | line = fp.readline() |
|
676 | line = fp.readline() | |
678 | if not line: |
|
677 | if not line: |
General Comments 0
You need to be logged in to leave comments.
Login now