| Age | Commit message (Collapse) | Author |
|
It is rather intuitive to consider trees as a dict of objects (like
a directory could be seen as a dict of files).
|
|
This is a simplification of the tree baking code.
As a matter of consequency, Tree.construct() and
tree.construct_initialize() have been killed, and repo.tree() has lost
the "paths" argument. This is not a problem since one can just have the
same result with:
dict(k, o for k, o in tree.items() if k in paths)
|
|
It seems more natural to use a dictionnary for directories, since we
usually want to access them by name, and entry order is not relevant.
Also, finding a particular blob given its name is O(1) instead of O(N).
|
|
|
|
|
|
up tests so they pass except for stderr test. Modified version information retrieval.
|