Comment 5 for bug 330086

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 330086] Re: branch reference does not support relative paths properly

2009/12/2 Alexander Belchenko <email address hidden>:
> John A Meinel пишет:
>> So I think it would be fine to update the code to support relative
>> paths, just not create them by default. Then we can transition.
>>
>> Arguably older clients will fail "safely" in that they just won't find
>> the reference. Except I think if you are sitting in the root dir, then
>> they will find the relative path, and fail otherwise...
>>
>
> If new format will be non-default is it possible to use some
> command-line flag of `bzr checkout --light` command to force relative
> reference? Say:
>
> bzr co --light --relative
>
> or something similar?

Yes, I think so.

> If somebody will guide me how to create new format for this I may try to
> finish my patch.

I understood John to mean that he no longer thought a new format was
necessary. I agree with that position and so I hope that is what he
did mean. You can just update the old format code. It is possible
that old clients will be confused when they see a relative path there,
but the problem should be obvious and people can either change the
path to be absolute, or update their software.

--
Martin <http://launchpad.net/~mbp/>