lstree: Use localrepo.TreeEntry instead of lstree.Entry
There is no reason to keep two structs around that both represent a tree
entry object. Now that we have localrepo.TreeEntry
, added by 9fac9132,
let's unify lstree
to use localrepo.TreeEntry
everywhere.
To do so, we need to add a Type
field to localrepo.TreeEntry
.