##// END OF EJS Templates
shelve: open patch using new shelf class instead of open()...
Martin von Zweigbergk -
r46997:14ce2eb6 default
parent child Browse files
Show More
@@ -28,7 +28,6 b' import itertools'
28 28 import stat
29 29
30 30 from .i18n import _
31 from .pycompat import open
32 31 from .node import (
33 32 bin,
34 33 hex,
@@ -672,7 +671,7 b' def listcmd(ui, repo, pats, opts):'
672 671 ui.write(age, label=b'shelve.age')
673 672 ui.write(b' ' * (12 - len(age)))
674 673 used += 12
675 with open(name + b'.' + patchextension, b'rb') as fp:
674 with Shelf(repo, sname).open_patch() as fp:
676 675 while True:
677 676 line = fp.readline()
678 677 if not line:
General Comments 0
You need to be logged in to leave comments. Login now