Show More
@@ -625,7 +625,7 b' def listshelves(repo):' | |||
|
625 | 625 | info = [] |
|
626 | 626 | seen = set() |
|
627 | 627 | for (filename, _type) in names: |
|
628 |
name |
|
|
628 | name = filename.rsplit(b'.', 1)[0] | |
|
629 | 629 | if name in seen: |
|
630 | 630 | continue |
|
631 | 631 | seen.add(name) |
@@ -779,10 +779,10 b' Test corrupt shelves (in .hg/shelved/, n' | |||
|
779 | 779 | |
|
780 | 780 | # A file with an unexpected extension |
|
781 | 781 | $ touch .hg/shelved/junk3 |
|
782 | $ hg shelve -l 2>&1 | grep ValueError | |
|
783 | ValueError: * (glob) | |
|
784 | $ hg unshelve 2>&1 | grep ValueError | |
|
785 | ValueError: * (glob) | |
|
782 | $ hg shelve -l | |
|
783 | $ hg unshelve | |
|
784 | abort: no shelved changes to apply! | |
|
785 | [20] | |
|
786 | 786 | $ hg shelve -d junk3 |
|
787 | 787 | abort: shelved change 'junk3' not found |
|
788 | 788 | [10] |
General Comments 0
You need to be logged in to leave comments.
Login now