Keep legacy and current restore behaviour separate
This commit is contained in:
parent
9de13741c8
commit
ea4feec008
@ -1236,12 +1236,14 @@ proc {rsv restore} {file} {
|
||||
# This is to support old format backup files where
|
||||
# the favourite index is not present.
|
||||
set idx 0
|
||||
} elseif {$idx eq "-"} {
|
||||
set idx $lastidx
|
||||
incr inc
|
||||
} else {
|
||||
if {$idx eq "-"} {
|
||||
set idx $lastidx
|
||||
incr inc
|
||||
}
|
||||
set lastidx $idx
|
||||
incr idx $inc
|
||||
}
|
||||
set lastidx $idx
|
||||
incr idx $inc
|
||||
|
||||
if {$grp != $group} {
|
||||
set grp $group
|
||||
|
Loading…
Reference in New Issue
Block a user