Show More
@@ -617,14 +617,14 b' def deletecmd(ui, repo, pats):' | |||
|
617 | 617 | def listshelves(repo): |
|
618 | 618 | """return all shelves in repo as list of (time, name)""" |
|
619 | 619 | try: |
|
620 |
names = repo.vfs. |
|
|
620 | names = repo.vfs.listdir(shelvedir) | |
|
621 | 621 | except OSError as err: |
|
622 | 622 | if err.errno != errno.ENOENT: |
|
623 | 623 | raise |
|
624 | 624 | return [] |
|
625 | 625 | info = [] |
|
626 | 626 | seen = set() |
|
627 |
for |
|
|
627 | for filename in names: | |
|
628 | 628 | name = filename.rsplit(b'.', 1)[0] |
|
629 | 629 | if name in seen: |
|
630 | 630 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now