Checking out repo with symlinks on windows

Martin Pool mbp at canonical.com
Tue Aug 23 09:24:59 UTC 2011


On 23 August 2011 02:42, Mark Grandi <markgrandi at gmail.com> wrote:
> Sure, I'd like to see if i could fix it. I've already been looking around
> the bazaar code base a bit. Any idea on where I should start?
>
> ~mark

The changes that seem to be needed are:

 * this ought to be governed by a policy knob that should default
probably to being switched by the OS, but that can also be controlled
by the user, in case they are for example on linux but using an ntfs
filesystem (this could be done later)
 * when building a tree (in tree_transform), conditionally create a
placeholder file rather than a symlink
 * when looking at the contents of a working tree, conditionally
report files as being symlinks if they're links in the basis tree
rather than in the actual on-disk tree - the dirstate based working
trees should have attributes you can use to find the cached reference
tree.

hth, you can ask for more details.

Martin



More information about the bazaar mailing list