Comment 7 for bug 135234

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 135234] Re: Checkout should record relative paths (dir move problem)

On 28 March 2010 20:50, Jari Aalto <email address hidden> wrote:
>> Have you considered the case where the checkout is moved, but the bzr
> branch stays in the same place?
>
> I think the file level operations should work without hick-ups:
>
>  $  mv repo.bzr  /other/location/in/disk
>
> This way tarring up files and directories. moving them around, works
> like with any other directory.
>
> I think it is reasonable to assume that the way user writes the URL to
> clone is preserver "AS IS". If he wants absolute paths, he uses absolute
> paths in the URL.
>
>  $ bzr clone ../tools.bzr tools             # relative
>  $bzr clone $(pwd)/tools.bzr tools   # absolute

I think that would be reasonable too. It looks like the branch
drafted here is not an overall improvement then.

Also, the original request was about checkouts but it seems reasonable
to actually want this done for everything that takes and remembers a
path?

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