Comment 10 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>:
> Robert Collins пишет:
>> It should be easy to test if old clients deal with relative paths; if
>> they do then there is no problem.
>
> Old clients will fail if they are running from subdir of light checkout, not from the root of the
> tree, with NotABranch error.
>
>> If they don't I think its better to issue a new format, because I don't
>> think the error will be at all obvious otherwise.
>
> New format is always safe choice according to existing practice in bzr.

It's true, but I don't think this is always actually a good tradeoff
for our users. A "unknown format" message is, I surmise from user
feedback, nearly as confusing and problematic as an error in opening
the branch reference. And it's likely to hit more people, either when
we make it a default, or when they fail to set relative paths and need
to upgrade.

We need to think about the larger issue but in this particular case I
think it may be reasonable to treat the old clients as just buggy for
not supporting it. We could presumably put a fix into 2.0.x to get it
to work?

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