← Back to team overview

zeitgeist team mailing list archive

Re: [Bug 695003] Re: Bzr datasource doesn't use different uri for different events on the same branch

 

On 5 January 2011 15:43, Mikkel Kamstrup Erlandsen
<mikkel.kamstrup@xxxxxxxxx> wrote:
> On 5 January 2011 12:38, Michal Hruby <michal.mhr@xxxxxxxxx> wrote:
>>>  file:///home/mikkel/myproject/trunk#27
>>
>> This is a perfectly valid file (directory) name, with one little problem
>> that it doesn't exist.
>
> This is *not* a file name. It is a URI. Let's keep the terminology
> correct here. It has path member being /home/mikkel/myproject/trunk
> and has a URI fragment of 27. Please see
> http://labs.apache.org/webarch/uri/rfc/rfc3986.html#components.
>
> Fragments should be definition point to some resource inside the
> resource specified by the path element. If we consider the path
> element as a bzr repo, and not just a file, then I think that a revno
> fragment is perfectly reasonable.

BTW - and if an app instructed to open file:///foo.txt#27 fails with
"Can not open /foo.txt#27. No such file or directory." Then that's a
bug in the app. Because the fragment should not be taken into account
when resolving the path.



Follow ups

References