David James 8d20116038 repo: Support multiple branches for the same project.
It is often useful to be able to include the same project more than
once, but with different branches and placed in different paths in the
workspace. Add this feature.

This CL adds the concept of an object directory. The object directory
stores objects that can be shared amongst several working trees. For
newly synced repositories, we set up the git repo now to share its
objects with an object repo.

Each worktree for a given repo shares objects, but has an independent
set of references and branches. This ensures that repo only has to
update the objects once; however the references for each worktree are
updated separately. Storing the references separately is needed to
ensure that commits to a branch on one worktree will not change the
HEAD commits of the others.

One nice side effect of sharing objects between different worktrees is
that you can easily cherry-pick changes between the two worktrees
without needing to fetch them.

Bug: Issue 141
Change-Id: I5e2f4e1a7abb56f9d3f310fa6fd0c17019330ecd
2013-10-14 15:34:32 -07:00
2012-11-14 11:38:57 +09:00
2013-03-08 01:18:08 +00:00
2013-02-26 16:04:55 +09:00
2008-10-21 07:00:00 -07:00
2013-04-18 21:35:49 +05:30
2011-09-19 14:52:57 -07:00
2013-09-27 09:32:02 +09:00
Description
No description provided
Apache-2.0 36 MiB
Languages
Python 99.1%
Shell 0.9%